Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006889/0.000689, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004113/0.004113, allocations: 168.8 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 270.2 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 13.91 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4278/0.5651, allocations: 143.8 MB / 0.8257 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004278/0.5695, allocations: 4.541 MB / 0.8301 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.5698, allocations: 13.03 kB / 0.8301 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.5703, allocations: 137.7 kB / 0.8303 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.5706, allocations: 77.94 kB / 0.8303 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.5707, allocations: 53.17 kB / 0.8304 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.5712, allocations: 351.6 kB / 0.8307 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.5715, allocations: 98.3 kB / 0.8308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.5717, allocations: 87.8 kB / 0.8309 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.5719, allocations: 124.8 kB / 0.831 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.5719, allocations: 7.344 kB / 0.831 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.119e-05/0.5719, allocations: 4.219 kB / 0.831 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.572, allocations: 28.08 kB / 0.8311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.5721, allocations: 98 kB / 0.8312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.5723, allocations: 139.6 kB / 0.8313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5723, allocations: 0 / 0.8313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.058e-06/0.5723, allocations: 0 / 0.8313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5723, allocations: 3.938 kB / 0.8313 GB, free: 13.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004105/0.5727, allocations: 407.7 kB / 0.8317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5728, allocations: 10.19 kB / 0.8317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.5728, allocations: 51.3 kB / 0.8317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.5729, allocations: 18.25 kB / 0.8318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.5732, allocations: 244.6 kB / 0.832 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5732, allocations: 12.22 kB / 0.832 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.5732, allocations: 17.69 kB / 0.832 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.5735, allocations: 210.3 kB / 0.8322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5735, allocations: 3.938 kB / 0.8322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.5736, allocations: 10.38 kB / 0.8322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5736, allocations: 4.938 kB / 0.8322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.5737, allocations: 67.7 kB / 0.8323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.5748, allocations: 1.594 MB / 0.8339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.5748, allocations: 177 kB / 0.834 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.5749, allocations: 81.52 kB / 0.8341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.5749, allocations: 75.28 kB / 0.8342 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.5749, allocations: 107.2 kB / 0.8343 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5749, allocations: 0 / 0.8343 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.732e-05/0.575, allocations: 49.77 kB / 0.8343 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.5751, allocations: 128.1 kB / 0.8345 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.5753, allocations: 241 kB / 0.8347 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.5753, allocations: 25.7 kB / 0.8347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.5755, allocations: 149.3 kB / 0.8348 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.5755, allocations: 5.312 kB / 0.8349 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.5755, allocations: 19.08 kB / 0.8349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5756, allocations: 331 kB / 0.8352 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.5756, allocations: 4.125 kB / 0.8352 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.5757, allocations: 48.88 kB / 0.8352 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.5757, allocations: 56.95 kB / 0.8353 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5757, allocations: 0 / 0.8353 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001379/0.5759, allocations: 94.44 kB / 0.8354 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5759, allocations: 9.531 kB / 0.8354 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5759, allocations: 2.75 kB / 0.8354 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.5759, allocations: 1.375 kB / 0.8354 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.576, allocations: 18.92 kB / 0.8354 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.576, allocations: 5.312 kB / 0.8354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.5761, allocations: 25.19 kB / 0.8354 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.5761, allocations: 4.125 kB / 0.8354 GB, free: 9.582 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/0.5762, allocations: 205.2 kB / 0.8356 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.5762, allocations: 121 kB / 0.8358 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.5763, allocations: 124.7 kB / 0.8359 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/0.5764, allocations: 176.3 kB / 0.836 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-05/0.5764, allocations: 184.2 kB / 0.8362 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-05/0.5765, allocations: 181.6 kB / 0.8364 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.5767, allocations: 461.7 kB / 0.8368 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.5768, allocations: 106.3 kB / 0.8369 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.5768, allocations: 101 kB / 0.837 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.322e-05/0.5768, allocations: 181.7 kB / 0.8372 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.5769, allocations: 181.6 kB / 0.8374 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.626e-05/0.577, allocations: 185.6 kB / 0.8376 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.133e-05/0.577, allocations: 184.2 kB / 0.8377 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.5771, allocations: 318.5 kB / 0.838 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.5772, allocations: 199.4 kB / 0.8382 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.5773, allocations: 177.6 kB / 0.8384 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.5774, allocations: 104.9 kB / 0.8385 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.5775, allocations: 181.6 kB / 0.8387 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.5775, allocations: 114.3 kB / 0.8388 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001459/0.5777, allocations: 177.3 kB / 0.8389 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5777, allocations: 0 / 0.8389 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002386/0.5779, allocations: 19.31 kB / 0.839 GB, free: 5.895 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003402/0.5782, allocations: 0.8287 MB / 0.8398 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.081e-05/0.5783, allocations: 19.47 kB / 0.8398 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5783, allocations: 0 / 0.8398 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.5783, allocations: 1.469 kB / 0.8398 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.579, allocations: 0.5742 MB / 0.8404 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5808, allocations: 2.086 MB / 0.8424 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.581, allocations: 0.7228 MB / 0.8431 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.592e-05/0.5811, allocations: 19.47 kB / 0.8431 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.5812, allocations: 41.86 kB / 0.8432 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5812, allocations: 0 / 0.8432 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/0.8382, allocations: 3.287 MB / 0.8464 GB, free: 484 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/0.8385, allocations: 224.3 kB / 0.8466 GB, free: 224 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.473, allocations: 3.938 kB / 0.8466 GB, free: 220 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)