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.004177/0.004177, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001463/0.001463, allocations: 189.5 kB / 16.67 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 275.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9965/0.9965, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 99.84 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3736, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1962/0.5698, allocations: 174 MB / 0.9358 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.58, allocations: 9.507 MB / 0.9451 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.5802, allocations: 7.938 kB / 0.9451 GB, free: 11.64 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 (2) 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 (2) 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.0005503/0.5808, allocations: 198.6 kB / 0.9453 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.581, allocations: 87.38 kB / 0.9454 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.5812, allocations: 67.86 kB / 0.9454 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.5816, allocations: 322.7 kB / 0.9458 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.5819, allocations: 140.6 kB / 0.9459 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.5822, allocations: 163.4 kB / 0.946 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.5823, allocations: 103.4 kB / 0.9461 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.5824, allocations: 19.98 kB / 0.9462 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.5824, allocations: 16 kB / 0.9462 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.5825, allocations: 35.86 kB / 0.9462 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.5826, allocations: 103.5 kB / 0.9463 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.5828, allocations: 220.2 kB / 0.9465 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5828, allocations: 0 / 0.9465 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5828, allocations: 0 / 0.9465 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.5829, allocations: 0 / 0.9465 GB, free: 10.19 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004951/0.5834, allocations: 478.7 kB / 0.947 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5834, allocations: 8.031 kB / 0.947 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.5835, allocations: 58.53 kB / 0.947 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.5835, allocations: 27.8 kB / 0.9471 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.5839, allocations: 260.4 kB / 0.9473 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5839, allocations: 16.44 kB / 0.9473 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.5839, allocations: 19.94 kB / 0.9473 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.5843, allocations: 231.8 kB / 0.9476 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5843, allocations: 0 / 0.9476 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.5843, allocations: 19.88 kB / 0.9476 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5844, allocations: 4 kB / 0.9476 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.5845, allocations: 87.84 kB / 0.9477 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.5857, allocations: 1.441 MB / 0.9491 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5858, allocations: 169.2 kB / 0.9492 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.5858, allocations: 88.11 kB / 0.9493 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.5859, allocations: 75.28 kB / 0.9494 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/0.586, allocations: 117.8 kB / 0.9495 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.586, allocations: 0 / 0.9495 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.451e-05/0.586, allocations: 49.55 kB / 0.9496 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.5861, allocations: 130.6 kB / 0.9497 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.5865, allocations: 283 kB / 0.95 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.5865, allocations: 25.7 kB / 0.95 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.5866, allocations: 148 kB / 0.9501 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5866, allocations: 4 kB / 0.9501 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5866, allocations: 21.7 kB / 0.9501 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5868, allocations: 330.8 kB / 0.9505 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.5868, allocations: 7.984 kB / 0.9505 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.5869, allocations: 27.44 kB / 0.9505 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.5869, allocations: 39.38 kB / 0.9505 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5869, allocations: 0 / 0.9505 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.5871, allocations: 73.48 kB / 0.9506 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5871, allocations: 4 kB / 0.9506 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5871, allocations: 0 / 0.9506 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5871, allocations: 4 kB / 0.9506 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.5872, allocations: 12.06 kB / 0.9506 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.5872, allocations: 4 kB / 0.9506 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.5872, allocations: 15.84 kB / 0.9506 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.5872, allocations: 4 kB / 0.9506 GB, free: 5.645 MB / 0.7169 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.0001367/0.5874, allocations: 207.4 kB / 0.9508 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.5875, allocations: 124.8 kB / 0.951 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.5876, allocations: 129.9 kB / 0.9511 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.968e-05/0.5877, allocations: 180.4 kB / 0.9513 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.49e-05/0.5878, allocations: 180.2 kB / 0.9514 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.627e-05/0.5878, allocations: 184.2 kB / 0.9516 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.5882, allocations: 473.1 kB / 0.9521 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/0.5882, allocations: 104.9 kB / 0.9522 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.5883, allocations: 105 kB / 0.9523 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-05/0.5884, allocations: 184.2 kB / 0.9524 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.5885, allocations: 176.3 kB / 0.9526 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.493e-05/0.5886, allocations: 184.2 kB / 0.9528 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.669e-05/0.5886, allocations: 192.1 kB / 0.953 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.5888, allocations: 327.6 kB / 0.9533 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.589, allocations: 205.9 kB / 0.9535 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/0.5891, allocations: 176.3 kB / 0.9536 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.5892, allocations: 108.9 kB / 0.9537 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.5893, allocations: 184.3 kB / 0.9539 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.5893, allocations: 109.2 kB / 0.954 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002141/0.5895, allocations: 202 kB / 0.9542 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5896, allocations: 0 / 0.9542 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002523/0.5898, allocations: 27.94 kB / 0.9542 GB, free: 1.738 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.0004729/0.5903, allocations: 0.8282 MB / 0.955 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.631e-05/0.5904, allocations: 19.97 kB / 0.9551 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.5904, allocations: 0 / 0.9551 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5904, allocations: 0 / 0.9551 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.5912, allocations: 0.5359 MB / 0.9556 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2713/0.8624, allocations: 2.218 MB / 0.9578 GB, free: 192.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.8626, allocations: 0.7251 MB / 0.9585 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.023e-05/0.8627, allocations: 24.61 kB / 0.9585 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.8628, allocations: 57.73 kB / 0.9585 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.8628, allocations: 0 / 0.9585 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.8879, allocations: 4.688 MB / 0.9631 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.546, allocations: 12.14 kB / 0.9631 GB, free: 191.3 MB / 0.7169 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_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_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)