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.001419/0.001419, allocations: 99.36 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.001747/0.001747, allocations: 195.7 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.00212, allocations: 286.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 96 kB / 0.5947 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1575, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5145/0.672, allocations: 171.7 MB / 0.8473 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008326/0.6804, allocations: 9.438 MB / 0.8565 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.6807, allocations: 7.062 kB / 0.8565 GB, free: 7.945 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.0006121/0.6813, allocations: 163.1 kB / 0.8567 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.6816, allocations: 77.89 kB / 0.8568 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.6817, allocations: 62.91 kB / 0.8568 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.6821, allocations: 325.7 kB / 0.8571 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.6824, allocations: 205.3 kB / 0.8573 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.6827, allocations: 161.9 kB / 0.8575 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.6828, allocations: 123.7 kB / 0.8576 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.6829, allocations: 22.25 kB / 0.8576 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.6829, allocations: 20.5 kB / 0.8577 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.683, allocations: 75.83 kB / 0.8577 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.6831, allocations: 133.4 kB / 0.8579 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.6834, allocations: 277.8 kB / 0.8581 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6834, allocations: 0 / 0.8581 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6834, allocations: 0 / 0.8581 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.6834, allocations: 0 / 0.8581 GB, free: 6.883 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.0004873/0.6839, allocations: 0.5096 MB / 0.8586 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6839, allocations: 8 kB / 0.8586 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.684, allocations: 34.38 kB / 0.8587 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.6843, allocations: 273.6 kB / 0.8589 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6843, allocations: 24.38 kB / 0.8589 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.6843, allocations: 25.44 kB / 0.859 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.6848, allocations: 326.4 kB / 0.8593 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6848, allocations: 7.234 kB / 0.8593 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.6848, allocations: 10.78 kB / 0.8593 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6848, allocations: 6.75 kB / 0.8593 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.685, allocations: 146 kB / 0.8594 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.6862, allocations: 1.81 MB / 0.8612 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/0.6863, allocations: 177.1 kB / 0.8614 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.6863, allocations: 80.14 kB / 0.8615 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.6864, allocations: 79.27 kB / 0.8615 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.6864, allocations: 112.7 kB / 0.8616 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.6864, allocations: 3.938 kB / 0.8616 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.397e-05/0.6865, allocations: 54.05 kB / 0.8617 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.6866, allocations: 130.7 kB / 0.8618 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.6869, allocations: 372.5 kB / 0.8622 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.687, allocations: 29.64 kB / 0.8622 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.6871, allocations: 171.5 kB / 0.8624 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.6871, allocations: 0 / 0.8624 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.6871, allocations: 18.42 kB / 0.8624 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6873, allocations: 335.5 kB / 0.8627 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.6873, allocations: 9.062 kB / 0.8627 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/0.6873, allocations: 33.42 kB / 0.8627 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.6874, allocations: 45.59 kB / 0.8628 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6874, allocations: 4 kB / 0.8628 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001346/0.6875, allocations: 93.84 kB / 0.8629 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.6875, allocations: 4.438 kB / 0.8629 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6876, allocations: 3 kB / 0.8629 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6876, allocations: 0 / 0.8629 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.6876, allocations: 7.688 kB / 0.8629 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6876, allocations: 1.969 kB / 0.8629 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.6877, allocations: 27.53 kB / 0.8629 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.6877, allocations: 6.375 kB / 0.8629 GB, free: 2.367 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.0001257/0.6879, allocations: 218.7 kB / 0.8631 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.6879, allocations: 137.2 kB / 0.8633 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.688, allocations: 128.9 kB / 0.8634 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/0.6881, allocations: 183.2 kB / 0.8636 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.479e-05/0.6881, allocations: 180.3 kB / 0.8637 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.993e-05/0.6882, allocations: 184.2 kB / 0.8639 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.6885, allocations: 490.1 kB / 0.8644 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/0.6885, allocations: 105 kB / 0.8645 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.6886, allocations: 111.6 kB / 0.8646 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.668e-05/0.6886, allocations: 176.3 kB / 0.8648 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.6887, allocations: 184.2 kB / 0.8649 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.679e-05/0.6888, allocations: 182.4 kB / 0.8651 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.923e-05/0.6888, allocations: 176.3 kB / 0.8653 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.689, allocations: 330.5 kB / 0.8656 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.6891, allocations: 219.8 kB / 0.8658 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.6892, allocations: 180.2 kB / 0.866 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.6893, allocations: 103 kB / 0.8661 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.6894, allocations: 192.2 kB / 0.8662 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.6894, allocations: 106.2 kB / 0.8663 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002312/0.6896, allocations: 266.8 kB / 0.8666 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6896, allocations: 0 / 0.8666 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002426/0.6899, allocations: 39.19 kB / 0.8666 GB, free: 14.57 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 9.916e-05/0.69, allocations: 172 kB / 0.8668 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.278e-05/0.6901, allocations: 11.69 kB / 0.8668 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6901, allocations: 3.938 kB / 0.8668 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.6901, allocations: 0 / 0.8668 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/0.6909, allocations: 0.5571 MB / 0.8674 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.6915, allocations: 493.2 kB / 0.8678 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.6918, allocations: 0.7493 MB / 0.8686 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.728e-05/0.6919, allocations: 38.48 kB / 0.8686 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.6919, allocations: 17.62 kB / 0.8686 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.692, allocations: 2.781 kB / 0.8686 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.005651/0.6976, allocations: 3.154 MB / 0.8717 GB, free: 11.24 MB / 0.5919 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)