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.006699/0.006699, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.001259/0.001259, allocations: 193 kB / 16.68 MB, free: 6.363 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.392/1.392, 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.002454/0.002454, allocations: 275 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 99.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1603, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4956/0.656, allocations: 174 MB / 0.9359 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.6677, allocations: 9.522 MB / 0.9452 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.6681, allocations: 8 kB / 0.9452 GB, free: 11.49 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.0006987/0.6688, allocations: 194.6 kB / 0.9454 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.6692, allocations: 87.38 kB / 0.9455 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.6694, allocations: 67.84 kB / 0.9455 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.6699, allocations: 330.7 kB / 0.9459 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.6703, allocations: 204.9 kB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.6708, allocations: 163.3 kB / 0.9462 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.671, allocations: 127.4 kB / 0.9463 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.671, allocations: 20 kB / 0.9463 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.6711, allocations: 20 kB / 0.9464 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.6712, allocations: 75.81 kB / 0.9464 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.6713, allocations: 123.4 kB / 0.9466 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.6717, allocations: 296.2 kB / 0.9468 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6717, allocations: 0 / 0.9468 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.547e-06/0.6717, allocations: 4 kB / 0.9468 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6717, 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.0006046/0.6723, allocations: 0.522 MB / 0.9473 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6723, allocations: 8.031 kB / 0.9474 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.6724, allocations: 62.53 kB / 0.9474 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.6725, allocations: 35.75 kB / 0.9474 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.6729, allocations: 280.6 kB / 0.9477 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.673, allocations: 20.56 kB / 0.9477 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.673, allocations: 31.94 kB / 0.9478 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.6735, allocations: 319.9 kB / 0.9481 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6735, allocations: 4 kB / 0.9481 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.6736, allocations: 12 kB / 0.9481 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.6736, allocations: 4 kB / 0.9481 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.6738, allocations: 143.7 kB / 0.9482 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.6754, allocations: 1.824 MB / 0.95 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.6755, allocations: 173.1 kB / 0.9502 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.6756, allocations: 80.14 kB / 0.9503 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.6756, allocations: 79.22 kB / 0.9503 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.6757, allocations: 105.8 kB / 0.9504 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.6757, allocations: 4 kB / 0.9504 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 0.0001113/0.6758, allocations: 57.45 kB / 0.9505 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.6759, allocations: 130.7 kB / 0.9506 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.6763, allocations: 373.7 kB / 0.951 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.6763, allocations: 25.7 kB / 0.951 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.6765, allocations: 167.9 kB / 0.9512 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-06/0.6765, allocations: 4 kB / 0.9512 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.6765, allocations: 17.72 kB / 0.9512 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6767, allocations: 334.8 kB / 0.9515 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.6767, allocations: 8.484 kB / 0.9515 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.6768, allocations: 37.36 kB / 0.9515 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.6768, allocations: 44.23 kB / 0.9516 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6768, allocations: 4 kB / 0.9516 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001679/0.677, allocations: 93.31 kB / 0.9517 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.677, allocations: 8 kB / 0.9517 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.677, allocations: 0 / 0.9517 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6771, allocations: 0 / 0.9517 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.6771, allocations: 12.09 kB / 0.9517 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6771, allocations: 11.88 kB / 0.9517 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/0.6772, allocations: 30.58 kB / 0.9517 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.6773, allocations: 4 kB / 0.9517 GB, free: 4.453 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.0001601/0.6774, allocations: 217.7 kB / 0.9519 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.6775, allocations: 132.7 kB / 0.9521 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.23e-05/0.6776, allocations: 130.9 kB / 0.9522 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/0.6777, allocations: 180.3 kB / 0.9524 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.422e-05/0.6778, allocations: 188.2 kB / 0.9525 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.766e-05/0.6779, allocations: 176.3 kB / 0.9527 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.6782, allocations: 493.1 kB / 0.9532 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/0.6783, allocations: 108.9 kB / 0.9533 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.6783, allocations: 101.1 kB / 0.9534 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-05/0.6784, allocations: 188.2 kB / 0.9536 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/0.6785, allocations: 192.2 kB / 0.9537 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.4e-05/0.6786, allocations: 176.3 kB / 0.9539 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.982e-05/0.6787, allocations: 180.2 kB / 0.9541 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.6789, allocations: 327.6 kB / 0.9544 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.679, allocations: 217.8 kB / 0.9546 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6791, allocations: 184.2 kB / 0.9548 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.6793, allocations: 108.9 kB / 0.9549 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.6794, allocations: 176.3 kB / 0.9551 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.6794, allocations: 104.9 kB / 0.9552 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002894/0.6797, allocations: 271.2 kB / 0.9554 GB, free: 472 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6797, allocations: 0 / 0.9554 GB, free: 472 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002588/0.68, allocations: 32 kB / 0.9554 GB, free: 440 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.0004686/0.6805, allocations: 0.8359 MB / 0.9563 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.6805, allocations: 16.12 kB / 0.9563 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6806, allocations: 4.125 kB / 0.9563 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.6806, allocations: 0 / 0.9563 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.6814, allocations: 0.551 MB / 0.9568 GB, free: 15 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.6844, allocations: 2.703 MB / 0.9595 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.6848, allocations: 0.7518 MB / 0.9602 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.685, 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 0.0001032/0.6851, allocations: 71.42 kB / 0.9603 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6851, allocations: 0 / 0.9603 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.7139, allocations: 5.928 MB / 0.9661 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.637, allocations: 11 kB / 0.9661 GB, free: 5.594 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)