Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.005116/0.005116, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001152/0.001152, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 292.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9972/0.9972, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 99.84 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4888, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1748/0.6637, allocations: 174 MB / 0.9359 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009407/0.6731, allocations: 9.53 MB / 0.9452 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.6736, allocations: 11.94 kB / 0.9452 GB, free: 11.6 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.6743, allocations: 190.7 kB / 0.9454 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.6746, allocations: 91.31 kB / 0.9455 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.6749, allocations: 63.91 kB / 0.9455 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.6753, allocations: 326.7 kB / 0.9458 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.6757, allocations: 204.8 kB / 0.946 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.6761, allocations: 171.3 kB / 0.9462 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.6762, allocations: 127.4 kB / 0.9463 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.6763, allocations: 20 kB / 0.9463 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.6763, allocations: 24 kB / 0.9464 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.6764, allocations: 75.81 kB / 0.9464 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.6765, allocations: 123.4 kB / 0.9465 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.6768, allocations: 290.8 kB / 0.9468 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6768, allocations: 0 / 0.9468 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6768, allocations: 0 / 0.9468 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.6769, allocations: 0 / 0.9468 GB, free: 9.922 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005074/0.6774, allocations: 0.5185 MB / 0.9473 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6774, allocations: 8.031 kB / 0.9473 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.6775, allocations: 58.55 kB / 0.9474 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.6776, allocations: 39.56 kB / 0.9474 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.678, allocations: 279.1 kB / 0.9477 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.678, allocations: 16.56 kB / 0.9477 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.6781, allocations: 28 kB / 0.9477 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.6785, allocations: 323.9 kB / 0.9481 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6785, allocations: 11.88 kB / 0.9481 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.6785, allocations: 12 kB / 0.9481 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.6785, allocations: 11.94 kB / 0.9481 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.6788, allocations: 139.8 kB / 0.9482 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.68, allocations: 1.812 MB / 0.95 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.6801, allocations: 173.1 kB / 0.9502 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.6802, allocations: 84.08 kB / 0.9502 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.6802, allocations: 79.22 kB / 0.9503 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.6803, allocations: 105.8 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.6803, allocations: 4 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001016/0.6804, allocations: 57.33 kB / 0.9505 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.6804, allocations: 126.7 kB / 0.9506 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.6808, allocations: 373.7 kB / 0.9509 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.6808, allocations: 25.7 kB / 0.951 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.6809, allocations: 163.8 kB / 0.9511 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.681, allocations: 0 / 0.9511 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.681, allocations: 21.62 kB / 0.9511 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6811, allocations: 342.8 kB / 0.9515 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.6811, allocations: 4 kB / 0.9515 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.6812, allocations: 40.22 kB / 0.9515 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.756e-05/0.6813, allocations: 44.23 kB / 0.9516 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6813, allocations: 0 / 0.9516 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000153/0.6814, allocations: 89.28 kB / 0.9516 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6814, allocations: 11.94 kB / 0.9517 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6815, allocations: 0 / 0.9517 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6815, allocations: 272 / 0.9517 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.6815, allocations: 19.92 kB / 0.9517 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6816, allocations: 4 kB / 0.9517 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.6816, allocations: 31.58 kB / 0.9517 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6817, allocations: 0 / 0.9517 GB, free: 4.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001283/0.6818, allocations: 217 kB / 0.9519 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.6819, allocations: 132.6 kB / 0.952 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.6819, allocations: 127.1 kB / 0.9522 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-05/0.682, allocations: 184.3 kB / 0.9523 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.629e-05/0.6821, allocations: 184.2 kB / 0.9525 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-05/0.6821, allocations: 180.2 kB / 0.9527 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.6824, allocations: 497 kB / 0.9532 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.6824, allocations: 101 kB / 0.9533 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.6825, allocations: 105 kB / 0.9534 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.335e-05/0.6825, allocations: 188.1 kB / 0.9535 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.6826, allocations: 180.3 kB / 0.9537 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-05/0.6827, allocations: 188.2 kB / 0.9539 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.164e-05/0.6827, allocations: 176.3 kB / 0.9541 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.6829, allocations: 335.4 kB / 0.9544 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.683, allocations: 209.7 kB / 0.9546 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.6831, allocations: 184.5 kB / 0.9548 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.6832, allocations: 105 kB / 0.9549 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.6832, allocations: 184.2 kB / 0.955 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.6833, allocations: 105 kB / 0.9551 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002462/0.6835, allocations: 271.2 kB / 0.9554 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6835, allocations: 0 / 0.9554 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002527/0.6838, allocations: 28 kB / 0.9554 GB, free: 0.5508 MB / 0.7169 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.3399/1.024, allocations: 0.8358 MB / 0.9562 GB, free: 193.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.024, allocations: 10.97 kB / 0.9562 GB, free: 193.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.024, allocations: 0 / 0.9562 GB, free: 193.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/1.024, allocations: 1.562 kB / 0.9562 GB, free: 193.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/1.025, allocations: 0.5531 MB / 0.9568 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.028, allocations: 2.684 MB / 0.9594 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/1.028, allocations: 0.7558 MB / 0.9601 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001317/1.028, allocations: 31.8 kB / 0.9602 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/1.028, allocations: 78.5 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.202e-06/1.028, allocations: 0 / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/1.051, allocations: 6.026 MB / 0.9661 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/8.422, allocations: 5.438 kB / 0.9661 GB, free: 189.1 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)