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.001329/0.001329, 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.001349/0.001349, allocations: 197.2 kB / 16.26 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 282.6 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.507 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 99.02 kB / 0.6059 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1689, allocations: 89.15 MB / 0.693 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4779/0.6469, allocations: 171.7 MB / 0.8607 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009862/0.6568, allocations: 9.429 MB / 0.8699 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.6571, allocations: 11.34 kB / 0.8699 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.6577, allocations: 158 kB / 0.8701 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.6581, allocations: 87.62 kB / 0.8701 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.6583, allocations: 51.33 kB / 0.8702 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.6586, allocations: 323.8 kB / 0.8705 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.659, allocations: 199.1 kB / 0.8707 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.6593, allocations: 173.6 kB / 0.8709 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.6595, allocations: 128.2 kB / 0.871 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.6595, allocations: 22.44 kB / 0.871 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.339e-05/0.6595, allocations: 22.19 kB / 0.871 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.6596, allocations: 67.77 kB / 0.8711 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.6598, allocations: 128.5 kB / 0.8712 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.6601, allocations: 285.1 kB / 0.8715 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6601, allocations: 0 / 0.8715 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6601, allocations: 0 / 0.8715 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.6601, allocations: 3 kB / 0.8715 GB, free: 2.184 MB / 0.5919 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.0005495/0.6607, allocations: 0.5106 MB / 0.872 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.6607, allocations: 8.031 kB / 0.872 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.6608, allocations: 40.98 kB / 0.872 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.6611, allocations: 252.7 kB / 0.8723 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.6611, allocations: 21.47 kB / 0.8723 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.6611, allocations: 25.34 kB / 0.8723 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.6616, allocations: 329.3 kB / 0.8726 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6616, allocations: 2.25 kB / 0.8726 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.6616, allocations: 10.88 kB / 0.8726 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6616, allocations: 7.031 kB / 0.8726 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.6618, allocations: 149.2 kB / 0.8728 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.6633, allocations: 1.819 MB / 0.8746 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6634, allocations: 173.1 kB / 0.8747 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.6634, allocations: 80.14 kB / 0.8748 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.6635, allocations: 75.28 kB / 0.8749 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/0.6636, allocations: 122.8 kB / 0.875 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.6636, allocations: 3.938 kB / 0.875 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.545e-05/0.6637, allocations: 54.11 kB / 0.8751 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.6637, allocations: 126.7 kB / 0.8752 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.6641, allocations: 372.5 kB / 0.8755 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.6641, allocations: 25.7 kB / 0.8756 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6643, allocations: 175.3 kB / 0.8757 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.6643, allocations: 0 / 0.8757 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.6643, allocations: 22.59 kB / 0.8757 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6645, allocations: 332.1 kB / 0.8761 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.6645, allocations: 8.812 kB / 0.8761 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.6646, allocations: 37 kB / 0.8761 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.6646, allocations: 44.05 kB / 0.8761 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6646, allocations: 2.406 kB / 0.8761 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001425/0.6648, allocations: 91.53 kB / 0.8762 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6648, allocations: 4.719 kB / 0.8762 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6648, allocations: 2.812 kB / 0.8762 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.6648, allocations: 4 kB / 0.8762 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.6649, allocations: 11.73 kB / 0.8763 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6649, allocations: 1.812 kB / 0.8763 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.665, allocations: 23.94 kB / 0.8763 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.665, allocations: 6.562 kB / 0.8763 GB, free: 13.68 MB / 0.6075 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.0001428/0.6651, allocations: 213.2 kB / 0.8765 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.6652, allocations: 135.8 kB / 0.8766 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.6653, allocations: 130.6 kB / 0.8767 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.291e-05/0.6654, allocations: 186.3 kB / 0.8769 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.594e-05/0.6655, allocations: 180.3 kB / 0.8771 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.253e-05/0.6656, allocations: 187.1 kB / 0.8773 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.666, allocations: 485.5 kB / 0.8777 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.785e-05/0.666, allocations: 113.8 kB / 0.8778 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.6661, allocations: 104.9 kB / 0.8779 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-05/0.6662, allocations: 176.3 kB / 0.8781 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.6662, allocations: 183.1 kB / 0.8783 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.161e-05/0.6663, allocations: 188.2 kB / 0.8785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.819e-05/0.6664, allocations: 180.2 kB / 0.8786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.6666, allocations: 322.7 kB / 0.8789 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.6667, allocations: 219.3 kB / 0.8792 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.6668, allocations: 186.8 kB / 0.8793 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.667, allocations: 104.9 kB / 0.8794 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.6671, allocations: 180.3 kB / 0.8796 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.6671, allocations: 107.2 kB / 0.8797 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000251/0.6674, allocations: 270.8 kB / 0.88 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.964e-06/0.6674, allocations: 0 / 0.88 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002509/0.6676, allocations: 39.75 kB / 0.88 GB, free: 9.867 MB / 0.6075 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.0001411/0.6678, allocations: 171.9 kB / 0.8802 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.864e-05/0.6679, allocations: 19.98 kB / 0.8802 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6679, allocations: 0 / 0.8802 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.6679, allocations: 3.938 kB / 0.8802 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.6688, allocations: 0.545 MB / 0.8807 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.6694, allocations: 494 kB / 0.8812 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.6698, allocations: 0.7526 MB / 0.8819 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.875e-05/0.6699, allocations: 30.31 kB / 0.882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.6699, allocations: 22.06 kB / 0.882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.6699, allocations: 0 / 0.882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of Templates: time 0.006468/0.6764, allocations: 3.162 MB / 0.8851 GB, free: 6.531 MB / 0.6075 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)