Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.0009033/0.0009034, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007313/0.007313, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.288/1.288, allocations: 223.2 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001717, allocations: 278.6 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005773/0.0005774, allocations: 11.33 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 88.55 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4142/0.5483, allocations: 169.5 MB / 0.8508 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007789/0.5561, allocations: 9.372 MB / 0.86 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.5563, allocations: 6.844 kB / 0.86 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.5567, allocations: 159.7 kB / 0.8601 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.5568, allocations: 85.16 kB / 0.8602 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.557, allocations: 55.92 kB / 0.8603 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.5573, allocations: 375.9 kB / 0.8606 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.5575, allocations: 133.8 kB / 0.8607 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.5577, allocations: 127.7 kB / 0.8609 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.5579, allocations: 86.19 kB / 0.8609 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.5579, allocations: 9.094 kB / 0.861 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.5579, allocations: 2.938 kB / 0.861 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.5579, allocations: 21.14 kB / 0.861 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.558, allocations: 103.4 kB / 0.8611 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.5582, allocations: 187.6 kB / 0.8613 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5582, allocations: 0 / 0.8613 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5582, allocations: 0 / 0.8613 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5582, allocations: 3.938 kB / 0.8613 GB, free: 5.406 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00033/0.5585, allocations: 441.5 kB / 0.8617 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.5585, allocations: 12 kB / 0.8617 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.5586, allocations: 54.17 kB / 0.8617 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.5586, allocations: 26.5 kB / 0.8618 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.5589, allocations: 247.5 kB / 0.862 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.5589, allocations: 17.16 kB / 0.862 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.5589, allocations: 14.81 kB / 0.862 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5592, allocations: 235 kB / 0.8623 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5592, allocations: 0 / 0.8623 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5592, allocations: 15.19 kB / 0.8623 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.5593, allocations: 4.594 kB / 0.8623 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.5594, allocations: 92.48 kB / 0.8624 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.5602, allocations: 1.431 MB / 0.8638 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.5603, allocations: 172 kB / 0.8639 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.5603, allocations: 80.14 kB / 0.864 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.5604, allocations: 79.28 kB / 0.8641 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.5604, allocations: 109.8 kB / 0.8642 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.5604, allocations: 0 / 0.8642 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.529e-05/0.5605, allocations: 48.3 kB / 0.8642 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.5606, allocations: 130.7 kB / 0.8644 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5608, allocations: 288.9 kB / 0.8646 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.5608, allocations: 25.7 kB / 0.8647 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.5609, allocations: 154.5 kB / 0.8648 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.5609, allocations: 0 / 0.8648 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5609, allocations: 13.83 kB / 0.8648 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5611, allocations: 343.9 kB / 0.8651 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.5611, allocations: 2.688 kB / 0.8651 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.5611, allocations: 29.5 kB / 0.8652 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.5611, allocations: 35.98 kB / 0.8652 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5611, allocations: 0 / 0.8652 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.5613, allocations: 70.11 kB / 0.8653 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5613, allocations: 7.812 kB / 0.8653 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.5613, allocations: 0 / 0.8653 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.5613, allocations: 7.094 kB / 0.8653 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.5613, allocations: 12.89 kB / 0.8653 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.5614, allocations: 0 / 0.8653 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.5614, allocations: 25.5 kB / 0.8653 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.5614, allocations: 2.906 kB / 0.8653 GB, free: 1.441 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 0.0001009/0.5615, allocations: 202.4 kB / 0.8655 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.5616, allocations: 123.6 kB / 0.8656 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.5617, allocations: 127.6 kB / 0.8658 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-05/0.5617, allocations: 178.5 kB / 0.8659 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-05/0.5618, allocations: 188.2 kB / 0.8661 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.614e-05/0.5618, allocations: 179.3 kB / 0.8663 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.5621, allocations: 465.8 kB / 0.8667 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/0.5621, allocations: 108.9 kB / 0.8668 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.5622, allocations: 113 kB / 0.8669 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.335e-05/0.5622, allocations: 183.3 kB / 0.8671 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.5623, allocations: 176.3 kB / 0.8673 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.161e-05/0.5623, allocations: 176.8 kB / 0.8674 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.763e-05/0.5624, allocations: 183.3 kB / 0.8676 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.5625, allocations: 334.4 kB / 0.8679 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.5626, allocations: 199.4 kB / 0.8681 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.5627, allocations: 187.1 kB / 0.8683 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.5628, allocations: 104.9 kB / 0.8684 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.5628, allocations: 176.3 kB / 0.8686 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.5629, allocations: 111.8 kB / 0.8687 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000162/0.5631, allocations: 211.2 kB / 0.8689 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5631, allocations: 0 / 0.8689 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000222/0.5633, allocations: 22.88 kB / 0.8689 GB, free: 13.71 MB / 0.5919 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.000322/0.5636, allocations: 0.8258 MB / 0.8697 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 4.717e-05/0.5637, allocations: 18.05 kB / 0.8697 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5637, allocations: 2.5 kB / 0.8697 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5637, allocations: 0 / 0.8697 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.5644, allocations: 0.6023 MB / 0.8703 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.5662, allocations: 2.271 MB / 0.8725 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5664, allocations: 0.7215 MB / 0.8732 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.582e-05/0.5665, allocations: 20.77 kB / 0.8733 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.5666, allocations: 60.08 kB / 0.8733 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5666, allocations: 0 / 0.8733 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.7754, allocations: 4.35 MB / 0.8776 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.7756, allocations: 217.9 kB / 0.8778 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.381, allocations: 3.938 kB / 0.8778 GB, free: 7.445 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)