Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005469/0.005469, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001309/0.001309, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.048/1.048, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.89 kB / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3405, allocations: 82.01 MB / 0.6754 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2016/0.5421, allocations: 174.1 MB / 0.8455 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.5531, allocations: 9.542 MB / 0.8548 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.5534, allocations: 11.94 kB / 0.8548 GB, free: 13.84 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83: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/BuildSysPro 3.6.0-master/IBPSA/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/BuildSysPro 3.6.0-master/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83: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/BuildSysPro 3.6.0-master/IBPSA/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.0006073/0.554, allocations: 194.7 kB / 0.855 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.5543, allocations: 87.31 kB / 0.8551 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.5545, allocations: 67.86 kB / 0.8551 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.5549, allocations: 326.7 kB / 0.8555 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.5553, allocations: 212.9 kB / 0.8557 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.5556, allocations: 175.4 kB / 0.8558 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.5558, allocations: 123.4 kB / 0.8559 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.5559, allocations: 20 kB / 0.856 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.5559, allocations: 24 kB / 0.856 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.556, allocations: 71.81 kB / 0.8561 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.5562, allocations: 127.3 kB / 0.8562 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.5565, allocations: 308.7 kB / 0.8565 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5565, allocations: 4 kB / 0.8565 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5565, allocations: 0 / 0.8565 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5565, allocations: 0 / 0.8565 GB, free: 12.14 MB / 0.6856 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.0005898/0.5571, allocations: 0.5182 MB / 0.857 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5572, allocations: 12.02 kB / 0.857 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.981e-05/0.5573, allocations: 66.55 kB / 0.8571 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.5573, allocations: 31.75 kB / 0.8571 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.5577, allocations: 286.4 kB / 0.8574 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.5578, allocations: 20.56 kB / 0.8574 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.5578, allocations: 24 kB / 0.8574 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.5583, allocations: 323.9 kB / 0.8577 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5583, allocations: 3.938 kB / 0.8577 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.5584, allocations: 15.98 kB / 0.8577 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5584, allocations: 11.94 kB / 0.8577 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.5586, allocations: 135.8 kB / 0.8579 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.5602, allocations: 1.816 MB / 0.8596 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.5603, allocations: 173.1 kB / 0.8598 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.5603, allocations: 84.08 kB / 0.8599 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.5604, allocations: 79.28 kB / 0.86 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/0.5604, allocations: 113.8 kB / 0.8601 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5604, allocations: 0 / 0.8601 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 9.451e-05/0.5605, allocations: 53.52 kB / 0.8601 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.5606, allocations: 126.7 kB / 0.8602 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.5611, allocations: 373.7 kB / 0.8606 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5611, allocations: 29.7 kB / 0.8606 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.5613, allocations: 175.8 kB / 0.8608 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.5613, allocations: 0 / 0.8608 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.5613, allocations: 17.72 kB / 0.8608 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5615, allocations: 334.8 kB / 0.8611 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.5615, allocations: 8 kB / 0.8611 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.5616, allocations: 40.28 kB / 0.8612 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.5616, allocations: 44.23 kB / 0.8612 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5616, allocations: 0 / 0.8612 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001672/0.5618, allocations: 93.34 kB / 0.8613 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5618, allocations: 8 kB / 0.8613 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5618, allocations: 0 / 0.8613 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5618, allocations: 4 kB / 0.8613 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.5619, allocations: 8 kB / 0.8613 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5619, allocations: 112 / 0.8613 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.562, allocations: 31.8 kB / 0.8614 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.562, allocations: 8 kB / 0.8614 GB, free: 6.766 MB / 0.6856 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.0001632/0.5622, allocations: 217.2 kB / 0.8616 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.5623, allocations: 140.7 kB / 0.8617 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.5624, allocations: 127 kB / 0.8618 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-05/0.5625, allocations: 184.2 kB / 0.862 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.786e-05/0.5626, allocations: 176.3 kB / 0.8622 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.598e-05/0.5627, allocations: 176.3 kB / 0.8623 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.5631, allocations: 0.4931 MB / 0.8628 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.615e-05/0.5631, allocations: 101 kB / 0.8629 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.5632, allocations: 104.9 kB / 0.863 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.888e-05/0.5633, allocations: 184.2 kB / 0.8632 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.5634, allocations: 180.3 kB / 0.8634 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.236e-05/0.5635, allocations: 184.2 kB / 0.8635 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-05/0.5635, allocations: 184.2 kB / 0.8637 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.5637, allocations: 327.6 kB / 0.864 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.5639, allocations: 214.1 kB / 0.8642 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.564, allocations: 184.3 kB / 0.8644 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5642, allocations: 109 kB / 0.8645 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.5643, allocations: 184.2 kB / 0.8647 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.5643, allocations: 101 kB / 0.8648 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000307/0.5646, allocations: 271.2 kB / 0.865 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5646, allocations: 0 / 0.865 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002797/0.5649, allocations: 31.94 kB / 0.8651 GB, free: 2.746 MB / 0.6856 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.0005127/0.5654, allocations: 0.8436 MB / 0.8659 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.862e-05/0.5655, allocations: 11.94 kB / 0.8659 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5655, allocations: 0 / 0.8659 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.5655, allocations: 4 kB / 0.8659 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.5665, allocations: 0.5545 MB / 0.8665 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2688/0.8353, allocations: 2.678 MB / 0.8691 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.8355, allocations: 0.7535 MB / 0.8698 GB, free: 189 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.8357, allocations: 32.7 kB / 0.8698 GB, free: 189 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.8358, allocations: 76.86 kB / 0.8699 GB, free: 189 MB / 0.6856 GB Notification: Performance of SimCode: time 4.11e-07/0.8358, allocations: 0 / 0.8699 GB, free: 189 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.8627, allocations: 5.923 MB / 0.8757 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.797, allocations: 8.812 kB / 0.8757 GB, free: 187.5 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)