Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001372/0.001372, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002499/0.002499, allocations: 290.4 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 102.6 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1867, allocations: 89.14 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.457/0.6437, allocations: 145.9 MB / 0.8355 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.649, allocations: 4.607 MB / 0.84 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.6492, allocations: 10.62 kB / 0.84 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.6497, allocations: 136.8 kB / 0.8401 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.65, allocations: 83.62 kB / 0.8402 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.6502, allocations: 51.91 kB / 0.8403 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.6505, allocations: 306.1 kB / 0.8406 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.6508, allocations: 143.9 kB / 0.8407 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.651, allocations: 112.9 kB / 0.8408 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.6512, allocations: 152.2 kB / 0.841 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.6512, allocations: 20.62 kB / 0.841 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-05/0.6513, allocations: 15.91 kB / 0.841 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.6514, allocations: 71.14 kB / 0.8411 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.6515, allocations: 102.1 kB / 0.8412 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.6518, allocations: 232 kB / 0.8414 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6518, allocations: 4 kB / 0.8414 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6518, allocations: 0 / 0.8414 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6518, allocations: 1.562 kB / 0.8414 GB, free: 10.94 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005209/0.6524, allocations: 490.3 kB / 0.8418 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6524, allocations: 9.406 kB / 0.8419 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.6525, allocations: 25.09 kB / 0.8419 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.6528, allocations: 259 kB / 0.8421 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.6528, allocations: 17.28 kB / 0.8421 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.6529, allocations: 18.41 kB / 0.8422 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.6533, allocations: 316.1 kB / 0.8425 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.6533, allocations: 5.359 kB / 0.8425 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.6533, allocations: 6.75 kB / 0.8425 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6534, allocations: 6.875 kB / 0.8425 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.6535, allocations: 124.2 kB / 0.8426 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.655, allocations: 1.974 MB / 0.8445 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.6551, allocations: 166.5 kB / 0.8447 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.6552, allocations: 80.14 kB / 0.8448 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.6552, allocations: 76.66 kB / 0.8448 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.6553, allocations: 109.8 kB / 0.8449 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6553, allocations: 0 / 0.8449 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.137e-05/0.6554, allocations: 61.66 kB / 0.845 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.6555, allocations: 126.7 kB / 0.8451 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.6558, allocations: 326.9 kB / 0.8454 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.6558, allocations: 25.7 kB / 0.8455 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.656, allocations: 169.4 kB / 0.8456 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.656, allocations: 1.375 kB / 0.8456 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.656, allocations: 27.12 kB / 0.8456 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6562, allocations: 336.3 kB / 0.846 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.6562, allocations: 9.438 kB / 0.846 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.6563, allocations: 57 kB / 0.846 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.489e-05/0.6564, allocations: 70.69 kB / 0.8461 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6564, allocations: 1.312 kB / 0.8461 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001695/0.6566, allocations: 108.7 kB / 0.8462 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6566, allocations: 7.438 kB / 0.8462 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6566, allocations: 5.469 kB / 0.8462 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6566, allocations: 6.688 kB / 0.8462 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.6567, allocations: 18.25 kB / 0.8462 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6567, allocations: 5.344 kB / 0.8462 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.6568, allocations: 27.59 kB / 0.8463 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6568, allocations: 4.438 kB / 0.8463 GB, free: 6.234 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001489/0.657, allocations: 210.2 kB / 0.8465 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.657, allocations: 128.2 kB / 0.8466 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.6571, allocations: 126.8 kB / 0.8467 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.044e-05/0.6572, allocations: 181.4 kB / 0.8469 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.428e-05/0.6573, allocations: 190.1 kB / 0.8471 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-05/0.6574, allocations: 176.3 kB / 0.8472 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.6577, allocations: 478.8 kB / 0.8477 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.6578, allocations: 106.2 kB / 0.8478 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.6578, allocations: 102.1 kB / 0.8479 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-05/0.6579, allocations: 181.5 kB / 0.8481 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.658, allocations: 185.4 kB / 0.8482 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.782e-05/0.6581, allocations: 180.2 kB / 0.8484 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-05/0.6582, allocations: 186 kB / 0.8486 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.6584, allocations: 322.1 kB / 0.8489 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.6585, allocations: 208.8 kB / 0.8491 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6586, allocations: 178.4 kB / 0.8493 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.6587, allocations: 112.8 kB / 0.8494 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.6588, allocations: 181.8 kB / 0.8496 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.6589, allocations: 112.9 kB / 0.8497 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002389/0.6591, allocations: 236.1 kB / 0.8499 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6591, allocations: 4 kB / 0.8499 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002625/0.6594, allocations: 27.88 kB / 0.8499 GB, free: 2.48 MB / 0.5762 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.0001404/0.6596, allocations: 172.8 kB / 0.8501 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.6e-05/0.6596, allocations: 25.7 kB / 0.8501 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6596, allocations: 3.938 kB / 0.8501 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.6597, allocations: 2.469 kB / 0.8501 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.6604, allocations: 0.5253 MB / 0.8506 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.661, allocations: 443.6 kB / 0.851 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.6613, allocations: 0.7505 MB / 0.8518 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.467e-05/0.6614, allocations: 21.36 kB / 0.8518 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.6615, allocations: 21.5 kB / 0.8518 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6615, allocations: 0 / 0.8518 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of Templates: time 0.005253/0.6667, allocations: 2.335 MB / 0.8541 GB, free: 15.57 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)