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.004199/0.004199, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001075/0.001075, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 286.3 kB / 290.8 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.9572/0.9572, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 92.48 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1757, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4763/0.652, allocations: 174 MB / 0.9359 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008715/0.6608, allocations: 9.515 MB / 0.9452 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.6611, allocations: 11.94 kB / 0.9452 GB, free: 11.5 MB / 0.7012 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.0006065/0.6617, allocations: 196.2 kB / 0.9454 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.6619, allocations: 91.31 kB / 0.9455 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.6621, allocations: 67.91 kB / 0.9455 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.6625, allocations: 330.6 kB / 0.9458 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.6628, allocations: 204.9 kB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.6631, allocations: 171.4 kB / 0.9462 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.6633, allocations: 119.4 kB / 0.9463 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.6633, allocations: 24 kB / 0.9463 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.6634, allocations: 20 kB / 0.9464 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.6635, allocations: 71.77 kB / 0.9464 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.6636, allocations: 131.3 kB / 0.9466 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.6639, allocations: 292.2 kB / 0.9468 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6639, allocations: 0 / 0.9468 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6639, allocations: 0 / 0.9468 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6639, allocations: 0 / 0.9468 GB, free: 9.812 MB / 0.7012 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.0004908/0.6644, allocations: 0.5182 MB / 0.9473 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6644, allocations: 16.02 kB / 0.9474 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.6645, allocations: 62.55 kB / 0.9474 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.6646, allocations: 35.75 kB / 0.9474 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.6649, allocations: 278.5 kB / 0.9477 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.665, allocations: 24.56 kB / 0.9477 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.665, allocations: 24 kB / 0.9478 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.6654, allocations: 323.9 kB / 0.9481 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6655, allocations: 0.75 kB / 0.9481 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.6655, allocations: 12 kB / 0.9481 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.6655, allocations: 11.98 kB / 0.9481 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.6657, allocations: 147.6 kB / 0.9482 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.6669, allocations: 1.809 MB / 0.95 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.667, allocations: 177.1 kB / 0.9502 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.667, allocations: 80.14 kB / 0.9502 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.6671, allocations: 87.22 kB / 0.9503 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.6671, allocations: 107.8 kB / 0.9504 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6671, allocations: 3.938 kB / 0.9504 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.566e-05/0.6672, allocations: 53.52 kB / 0.9505 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.6673, allocations: 126.7 kB / 0.9506 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.6676, allocations: 373.7 kB / 0.951 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.6677, allocations: 29.64 kB / 0.951 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6678, allocations: 171.9 kB / 0.9512 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.6678, allocations: 3.984 kB / 0.9512 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.6678, allocations: 17.72 kB / 0.9512 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6679, allocations: 338.8 kB / 0.9515 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.668, allocations: 4 kB / 0.9515 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.668, allocations: 36.28 kB / 0.9515 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.6681, allocations: 44.23 kB / 0.9516 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6681, allocations: 0 / 0.9516 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001466/0.6682, allocations: 97.34 kB / 0.9517 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6682, allocations: 4 kB / 0.9517 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6682, allocations: 4 kB / 0.9517 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.6683, allocations: 0 / 0.9517 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.6683, allocations: 8 kB / 0.9517 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6683, allocations: 0 / 0.9517 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.6684, allocations: 27.73 kB / 0.9517 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.6684, allocations: 8 kB / 0.9517 GB, free: 4.457 MB / 0.7012 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.0001237/0.6686, allocations: 221.8 kB / 0.9519 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.6686, allocations: 136.7 kB / 0.9521 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.6687, allocations: 128.7 kB / 0.9522 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/0.6688, allocations: 184.3 kB / 0.9524 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.345e-05/0.6688, allocations: 180.2 kB / 0.9525 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-05/0.6689, allocations: 184.2 kB / 0.9527 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.6692, allocations: 497.1 kB / 0.9532 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.6692, allocations: 108.9 kB / 0.9533 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.6692, allocations: 109.1 kB / 0.9534 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.765e-05/0.6693, allocations: 180.3 kB / 0.9536 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.6693, allocations: 184.2 kB / 0.9537 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.196e-05/0.6694, allocations: 181.8 kB / 0.9539 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.332e-05/0.6695, allocations: 188.2 kB / 0.9541 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.6696, allocations: 323.6 kB / 0.9544 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6697, allocations: 221.8 kB / 0.9546 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.6698, allocations: 178.4 kB / 0.9548 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.6699, allocations: 105 kB / 0.9549 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.67, allocations: 184.2 kB / 0.9551 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.67, allocations: 105 kB / 0.9552 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002531/0.6703, allocations: 271.2 kB / 0.9554 GB, free: 464 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6703, allocations: 0 / 0.9554 GB, free: 464 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002568/0.6705, allocations: 31.94 kB / 0.9554 GB, free: 432 kB / 0.7012 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.0003605/0.6709, allocations: 0.8397 MB / 0.9563 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.863e-05/0.671, allocations: 15.94 kB / 0.9563 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.671, allocations: 0 / 0.9563 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.671, allocations: 0 / 0.9563 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.6718, allocations: 0.5497 MB / 0.9568 GB, free: 15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.6743, allocations: 2.695 MB / 0.9595 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.6746, allocations: 0.7597 MB / 0.9602 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.461e-05/0.6747, allocations: 34.95 kB / 0.9602 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.6748, allocations: 75.41 kB / 0.9603 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6748, allocations: 0 / 0.9603 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.6984, allocations: 5.933 MB / 0.9661 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/8.217, allocations: 9.781 kB / 0.9661 GB, free: 5.578 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)