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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001385, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001477/0.001477, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 283 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.182/1.182, allocations: 178.5 MB / 0.5076 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 95.84 kB / 0.6066 GB, free: 9.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1791, allocations: 89.14 MB / 0.6936 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4603/0.6394, allocations: 171.7 MB / 0.8613 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.6499, allocations: 9.424 MB / 0.8705 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.6504, allocations: 13 kB / 0.8706 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.6511, allocations: 165 kB / 0.8707 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.6514, allocations: 77.28 kB / 0.8708 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.6516, allocations: 52.06 kB / 0.8708 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.652, allocations: 328 kB / 0.8712 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.6525, allocations: 204.9 kB / 0.8713 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.6528, allocations: 171.4 kB / 0.8715 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.653, allocations: 119.4 kB / 0.8716 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.653, allocations: 24 kB / 0.8716 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 3.939e-05/0.6531, allocations: 20 kB / 0.8717 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.6532, allocations: 75.75 kB / 0.8717 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.6533, allocations: 135.3 kB / 0.8719 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.6536, allocations: 215.5 kB / 0.8721 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6536, allocations: 0 / 0.8721 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6536, allocations: 0 / 0.8721 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.6536, allocations: 4 kB / 0.8721 GB, free: 3.824 MB / 0.6231 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.0005792/0.6542, allocations: 0.5104 MB / 0.8726 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6543, allocations: 8.031 kB / 0.8726 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.6544, allocations: 35.56 kB / 0.8726 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.6547, allocations: 258.5 kB / 0.8729 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6547, allocations: 20.56 kB / 0.8729 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.6547, allocations: 24 kB / 0.8729 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.6553, allocations: 328 kB / 0.8732 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6553, allocations: 3.938 kB / 0.8732 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.6553, allocations: 12 kB / 0.8732 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.6553, allocations: 12 kB / 0.8732 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.6556, allocations: 139.7 kB / 0.8734 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.6573, allocations: 1.82 MB / 0.8752 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.6575, allocations: 177.2 kB / 0.8753 GB, free: 268 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.6575, allocations: 88.02 kB / 0.8754 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.6575, allocations: 79.28 kB / 0.8755 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/0.6576, allocations: 110.3 kB / 0.8756 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.6576, allocations: 0 / 0.8756 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/0.6577, allocations: 49.42 kB / 0.8756 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.6578, allocations: 130.7 kB / 0.8758 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.6583, allocations: 369.7 kB / 0.8761 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.6583, allocations: 25.7 kB / 0.8761 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.6584, allocations: 175.8 kB / 0.8763 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-06/0.6585, allocations: 0 / 0.8763 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.6585, allocations: 17.72 kB / 0.8763 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.6587, allocations: 338.8 kB / 0.8766 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.6587, allocations: 7.938 kB / 0.8767 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.6588, allocations: 36.78 kB / 0.8767 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.6589, allocations: 44.23 kB / 0.8767 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6589, allocations: 0 / 0.8767 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.6591, allocations: 97.81 kB / 0.8768 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6591, allocations: 4 kB / 0.8768 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6591, allocations: 4 kB / 0.8768 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6591, allocations: 0 / 0.8768 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.6592, allocations: 12 kB / 0.8768 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6592, allocations: 3.984 kB / 0.8768 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.6593, allocations: 24.5 kB / 0.8769 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.6593, allocations: 4 kB / 0.8769 GB, free: 14.57 MB / 0.6387 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.0001847/0.6595, allocations: 209.8 kB / 0.8771 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6596, allocations: 144.5 kB / 0.8772 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.6597, allocations: 131 kB / 0.8773 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/0.6599, allocations: 184.2 kB / 0.8775 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.445e-05/0.66, allocations: 184.4 kB / 0.8777 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.385e-05/0.6601, allocations: 180.2 kB / 0.8779 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.6605, allocations: 493.8 kB / 0.8783 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/0.6606, allocations: 101 kB / 0.8784 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.6607, allocations: 112.9 kB / 0.8785 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.644e-05/0.6608, allocations: 180.3 kB / 0.8787 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.6609, allocations: 176.3 kB / 0.8789 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.99e-05/0.661, allocations: 184.9 kB / 0.8791 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.68e-05/0.6611, allocations: 188.2 kB / 0.8792 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.6613, allocations: 327.5 kB / 0.8795 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.6614, allocations: 213.6 kB / 0.8797 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6616, allocations: 180.2 kB / 0.8799 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.6617, allocations: 112.7 kB / 0.88 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.6618, allocations: 188.1 kB / 0.8802 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.6619, allocations: 105 kB / 0.8803 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003023/0.6622, allocations: 271.2 kB / 0.8806 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6622, allocations: 0 / 0.8806 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002944/0.6625, allocations: 31.94 kB / 0.8806 GB, free: 10.54 MB / 0.6387 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.0001628/0.6627, allocations: 170.5 kB / 0.8808 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.955e-05/0.6628, allocations: 23.92 kB / 0.8808 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6628, allocations: 0 / 0.8808 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.6628, allocations: 0 / 0.8808 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.6638, allocations: 0.5428 MB / 0.8813 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.6645, allocations: 0.5146 MB / 0.8818 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.6649, allocations: 0.7558 MB / 0.8826 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.665, allocations: 19.44 kB / 0.8826 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.665, allocations: 0 / 0.8826 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.005461/0.6704, allocations: 3.116 MB / 0.8856 GB, free: 5.402 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)