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.001007/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001053/0.001053, allocations: 197.6 kB / 16.14 MB, free: 6.66 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001954/0.001954, allocations: 290.5 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 93.02 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 86.99 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4212/0.5542, allocations: 171.8 MB / 0.8474 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.5624, allocations: 9.517 MB / 0.8567 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.5627, allocations: 7.75 kB / 0.8567 GB, free: 7.629 MB / 0.5762 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.0005151/0.5632, allocations: 152 kB / 0.8568 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.5634, allocations: 84.66 kB / 0.8569 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.5636, allocations: 58.64 kB / 0.857 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.5639, allocations: 378.1 kB / 0.8573 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.5642, allocations: 203.2 kB / 0.8575 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.5645, allocations: 157 kB / 0.8577 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.5646, allocations: 126 kB / 0.8578 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.5646, allocations: 16.19 kB / 0.8578 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.5647, allocations: 16.34 kB / 0.8578 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.5647, allocations: 66.89 kB / 0.8579 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.5649, allocations: 128.9 kB / 0.858 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.5651, allocations: 269.6 kB / 0.8583 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5651, allocations: 4 kB / 0.8583 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5651, allocations: 0 / 0.8583 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.5651, allocations: 0 / 0.8583 GB, free: 6.562 MB / 0.5762 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.0004474/0.5655, allocations: 0.5079 MB / 0.8588 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5656, allocations: 14.19 kB / 0.8588 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.5656, allocations: 66.53 kB / 0.8588 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.5657, allocations: 34.75 kB / 0.8589 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.566, allocations: 263.3 kB / 0.8591 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.566, allocations: 18.78 kB / 0.8591 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.566, allocations: 25.09 kB / 0.8592 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.5664, allocations: 318.7 kB / 0.8595 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5664, allocations: 2.406 kB / 0.8595 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.5665, allocations: 10.06 kB / 0.8595 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5665, allocations: 8 kB / 0.8595 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.5667, allocations: 150.4 kB / 0.8596 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.5678, allocations: 1.817 MB / 0.8614 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.5679, allocations: 169.1 kB / 0.8616 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.5679, allocations: 82.45 kB / 0.8616 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.5679, allocations: 87.19 kB / 0.8617 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.568, allocations: 110 kB / 0.8618 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.568, allocations: 3.938 kB / 0.8618 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.109e-05/0.5681, allocations: 54.05 kB / 0.8619 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.5681, allocations: 128.8 kB / 0.862 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.5685, allocations: 373.4 kB / 0.8624 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.5685, allocations: 25.7 kB / 0.8624 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5686, allocations: 164.6 kB / 0.8625 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.5686, allocations: 6.094 kB / 0.8625 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.5686, allocations: 20.55 kB / 0.8626 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5688, allocations: 338.2 kB / 0.8629 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.5688, allocations: 2.375 kB / 0.8629 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.5688, allocations: 35.98 kB / 0.8629 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.5689, allocations: 47.19 kB / 0.863 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5689, allocations: 0 / 0.863 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001249/0.569, allocations: 91.97 kB / 0.8631 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.569, allocations: 7.781 kB / 0.8631 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.569, allocations: 4 kB / 0.8631 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.569, allocations: 2.781 kB / 0.8631 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.5691, allocations: 10.81 kB / 0.8631 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5691, allocations: 0 / 0.8631 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.5692, allocations: 27.34 kB / 0.8631 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.5692, allocations: 2.469 kB / 0.8631 GB, free: 1.992 MB / 0.5762 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.000121/0.5693, allocations: 221 kB / 0.8633 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.5694, allocations: 132.9 kB / 0.8634 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.5695, allocations: 145.1 kB / 0.8636 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.5695, allocations: 184.3 kB / 0.8638 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-05/0.5696, allocations: 179 kB / 0.8639 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.642e-05/0.5696, allocations: 180.2 kB / 0.8641 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.5699, allocations: 488.4 kB / 0.8646 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.57, allocations: 116.8 kB / 0.8647 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.57, allocations: 105 kB / 0.8648 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.661e-05/0.5701, allocations: 178.5 kB / 0.8649 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.5701, allocations: 180.2 kB / 0.8651 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.322e-05/0.5702, allocations: 179.1 kB / 0.8653 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.653e-05/0.5703, allocations: 180.2 kB / 0.8655 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.5704, allocations: 330 kB / 0.8658 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5705, allocations: 213.5 kB / 0.866 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.5706, allocations: 182.4 kB / 0.8662 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.5707, allocations: 108 kB / 0.8663 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.5707, allocations: 184.2 kB / 0.8664 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.5708, allocations: 105 kB / 0.8665 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002294/0.571, allocations: 266.6 kB / 0.8668 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.483e-06/0.571, allocations: 0 / 0.8668 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002423/0.5713, allocations: 37.91 kB / 0.8668 GB, free: 14.19 MB / 0.5919 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.0003716/0.5716, allocations: 0.836 MB / 0.8676 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.5717, allocations: 18.47 kB / 0.8677 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5717, allocations: 0 / 0.8677 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.5717, allocations: 0 / 0.8677 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.5726, allocations: 0.617 MB / 0.8683 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.575, allocations: 2.75 MB / 0.8709 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5753, allocations: 0.7485 MB / 0.8717 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.5754, allocations: 32.44 kB / 0.8717 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.5755, allocations: 79.66 kB / 0.8718 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5755, allocations: 0 / 0.8718 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.59, allocations: 5.615 MB / 0.8773 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.5902, allocations: 220.5 kB / 0.8775 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.367, allocations: 0 / 0.8775 GB, free: 6.98 MB / 0.5919 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)