Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 108 kB / 15.99 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.001378/0.001378, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.282/1.282, 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.002042/0.002042, allocations: 296 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 0.9024/0.9024, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.001661, allocations: 97.66 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1948, allocations: 86.97 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4616/0.6564, allocations: 171.7 MB / 0.8479 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008552/0.665, allocations: 9.418 MB / 0.8571 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.6653, allocations: 7.938 kB / 0.8571 GB, free: 10.3 MB / 0.6231 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 (2) 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 (2) 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.0005957/0.666, allocations: 163.1 kB / 0.8573 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.6662, allocations: 79.44 kB / 0.8574 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.6663, allocations: 59.95 kB / 0.8574 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.6667, allocations: 322.7 kB / 0.8577 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.6669, allocations: 140.5 kB / 0.8579 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.6673, allocations: 155.5 kB / 0.858 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.6674, allocations: 107.4 kB / 0.8581 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.6674, allocations: 16 kB / 0.8581 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.6674, allocations: 16 kB / 0.8581 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.6675, allocations: 43.84 kB / 0.8582 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.6676, allocations: 91.55 kB / 0.8583 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.6677, allocations: 155.7 kB / 0.8584 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6677, allocations: 4 kB / 0.8584 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6678, allocations: 0 / 0.8584 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.6678, allocations: 0 / 0.8584 GB, free: 8.977 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004352/0.6682, allocations: 483.6 kB / 0.8589 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.6682, allocations: 8.031 kB / 0.8589 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.6683, allocations: 27.66 kB / 0.8589 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.6686, allocations: 247.7 kB / 0.8592 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.6686, allocations: 20.42 kB / 0.8592 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.6686, allocations: 16 kB / 0.8592 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.6689, allocations: 235.8 kB / 0.8594 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.6689, allocations: 3.938 kB / 0.8594 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.669, allocations: 8 kB / 0.8594 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.669, allocations: 15.94 kB / 0.8594 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.6691, allocations: 87.78 kB / 0.8595 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.6701, allocations: 1.433 MB / 0.8609 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.6702, allocations: 173.1 kB / 0.8611 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.6702, allocations: 80.14 kB / 0.8612 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.6703, allocations: 75.28 kB / 0.8612 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.6703, allocations: 109.8 kB / 0.8613 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6703, allocations: 4 kB / 0.8614 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 9.67e-05/0.6704, allocations: 49.36 kB / 0.8614 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.6705, allocations: 134.7 kB / 0.8615 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.6708, allocations: 287 kB / 0.8618 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.6708, allocations: 25.7 kB / 0.8618 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.6709, allocations: 143.9 kB / 0.862 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.6709, allocations: 0 / 0.862 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.6709, allocations: 17.72 kB / 0.862 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.671, allocations: 334.8 kB / 0.8623 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.6711, allocations: 12.11 kB / 0.8623 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.6711, allocations: 27.38 kB / 0.8623 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.6711, allocations: 31.38 kB / 0.8624 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6711, allocations: 4 kB / 0.8624 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.6713, allocations: 77.34 kB / 0.8624 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6713, allocations: 4 kB / 0.8624 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6713, allocations: 0 / 0.8624 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6713, allocations: 4 kB / 0.8624 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.6714, allocations: 7.938 kB / 0.8625 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6714, allocations: 3.984 kB / 0.8625 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.6714, allocations: 23.69 kB / 0.8625 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6715, allocations: 0 / 0.8625 GB, free: 4.512 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000108/0.6716, allocations: 205.2 kB / 0.8627 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.6716, allocations: 128.7 kB / 0.8628 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.6717, allocations: 125.9 kB / 0.8629 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/0.6718, allocations: 180.3 kB / 0.8631 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-05/0.6718, allocations: 184.2 kB / 0.8633 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.895e-05/0.6719, allocations: 184.2 kB / 0.8634 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.6722, allocations: 473.1 kB / 0.8639 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.6722, allocations: 104.9 kB / 0.864 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.6722, allocations: 101 kB / 0.8641 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.659e-05/0.6723, allocations: 180.2 kB / 0.8643 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.6724, allocations: 188.2 kB / 0.8644 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.918e-05/0.6724, allocations: 184.3 kB / 0.8646 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.602e-05/0.6725, allocations: 180.3 kB / 0.8648 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.6726, allocations: 323.5 kB / 0.8651 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.6727, allocations: 205.8 kB / 0.8653 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.6728, allocations: 180.3 kB / 0.8655 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.6729, allocations: 108.9 kB / 0.8656 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.673, allocations: 180.3 kB / 0.8657 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.673, allocations: 109.8 kB / 0.8658 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001705/0.6732, allocations: 202 kB / 0.866 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6732, allocations: 0 / 0.866 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002323/0.6734, allocations: 24 kB / 0.8661 GB, free: 0.625 MB / 0.6231 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.0001179/0.6736, allocations: 182.5 kB / 0.8662 GB, free: 444 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 6.479e-05/0.6736, allocations: 15.88 kB / 0.8663 GB, free: 428 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6736, allocations: 4 kB / 0.8663 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.6736, allocations: 3.938 kB / 0.8663 GB, free: 420 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.6745, allocations: 0.5364 MB / 0.8668 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.675, allocations: 432.7 kB / 0.8672 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.6752, allocations: 0.7283 MB / 0.8679 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.6753, allocations: 15.44 kB / 0.8679 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.6753, allocations: 0 / 0.8679 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.003877/0.6792, allocations: 2.369 MB / 0.8702 GB, free: 12.32 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)