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.001314/0.001314, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 287.2 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9733/0.9733, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 94.52 kB / 0.5952 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1707, allocations: 86.99 MB / 0.6802 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4958/0.6665, allocations: 174 MB / 0.8501 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008435/0.6749, allocations: 9.505 MB / 0.8594 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.6754, allocations: 9.531 kB / 0.8594 GB, free: 5.672 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 (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.0007014/0.6761, allocations: 197.4 kB / 0.8596 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.6763, allocations: 88.12 kB / 0.8597 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.6765, allocations: 68.2 kB / 0.8597 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.6768, allocations: 316.4 kB / 0.86 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.677, allocations: 153 kB / 0.8602 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.6773, allocations: 153.3 kB / 0.8603 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.6774, allocations: 104.6 kB / 0.8604 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.6775, allocations: 16.91 kB / 0.8604 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.6775, allocations: 16 kB / 0.8604 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.6775, allocations: 37.92 kB / 0.8605 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.6776, allocations: 100.1 kB / 0.8606 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.6778, allocations: 203.8 kB / 0.8608 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6778, allocations: 2.281 kB / 0.8608 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6778, allocations: 0 / 0.8608 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6778, allocations: 0 / 0.8608 GB, free: 4.699 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003909/0.6782, allocations: 476.3 kB / 0.8612 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6783, allocations: 9.594 kB / 0.8612 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.6783, allocations: 27.03 kB / 0.8613 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.6786, allocations: 244.1 kB / 0.8615 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6786, allocations: 16.34 kB / 0.8615 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.6786, allocations: 18.75 kB / 0.8615 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.6789, allocations: 236.1 kB / 0.8618 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6789, allocations: 0 / 0.8618 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.679, allocations: 9.125 kB / 0.8618 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.679, allocations: 10.69 kB / 0.8618 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.6791, allocations: 95.36 kB / 0.8619 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.68, allocations: 1.428 MB / 0.8633 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.6801, allocations: 177.1 kB / 0.8634 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.6801, allocations: 88.16 kB / 0.8635 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.6802, allocations: 78.47 kB / 0.8636 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.6802, allocations: 105.8 kB / 0.8637 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.6802, allocations: 0 / 0.8637 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.259e-05/0.6803, allocations: 50.95 kB / 0.8637 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6804, allocations: 130.6 kB / 0.8639 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.6806, allocations: 292 kB / 0.8641 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.6806, allocations: 25.81 kB / 0.8642 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.6807, allocations: 145.7 kB / 0.8643 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.6807, allocations: 0 / 0.8643 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.6808, allocations: 22.47 kB / 0.8643 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6809, allocations: 340 kB / 0.8646 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.6809, allocations: 6.719 kB / 0.8647 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.6809, allocations: 25.53 kB / 0.8647 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.681, allocations: 38.67 kB / 0.8647 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.681, allocations: 4 kB / 0.8647 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000112/0.6811, allocations: 67.3 kB / 0.8648 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.6811, allocations: 8.797 kB / 0.8648 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6811, allocations: 0 / 0.8648 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.6811, allocations: 2.031 kB / 0.8648 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.6812, allocations: 6.062 kB / 0.8648 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.6812, allocations: 2.5 kB / 0.8648 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.6813, allocations: 20.53 kB / 0.8648 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.6813, allocations: 2.938 kB / 0.8648 GB, free: 0.7734 MB / 0.5762 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.0001014/0.6814, allocations: 209.2 kB / 0.865 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.6814, allocations: 123.5 kB / 0.8651 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.6815, allocations: 121.4 kB / 0.8653 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.716e-05/0.6816, allocations: 190.5 kB / 0.8654 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-05/0.6816, allocations: 178.6 kB / 0.8656 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-05/0.6817, allocations: 184.2 kB / 0.8658 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.682, allocations: 466.5 kB / 0.8662 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/0.682, allocations: 108.9 kB / 0.8663 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.682, allocations: 106.8 kB / 0.8664 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.498e-05/0.6821, allocations: 176.3 kB / 0.8666 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.6822, allocations: 187 kB / 0.8668 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.652e-05/0.6822, allocations: 176.3 kB / 0.867 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-05/0.6823, allocations: 184.2 kB / 0.8671 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.6824, allocations: 328.6 kB / 0.8674 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.6825, allocations: 202.9 kB / 0.8676 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.6826, allocations: 186.1 kB / 0.8678 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.6827, allocations: 108 kB / 0.8679 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.6828, allocations: 176.3 kB / 0.8681 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.6828, allocations: 101 kB / 0.8682 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001651/0.683, allocations: 211.6 kB / 0.8684 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.683, allocations: 3.938 kB / 0.8684 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002367/0.6832, allocations: 22.22 kB / 0.8684 GB, free: 13.05 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 0.000107/0.6834, allocations: 179.8 kB / 0.8686 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.89e-05/0.6834, allocations: 19.72 kB / 0.8686 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6834, allocations: 0 / 0.8686 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6834, allocations: 0 / 0.8686 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.6842, allocations: 0.5411 MB / 0.8691 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.6846, allocations: 366.4 kB / 0.8695 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6849, allocations: 0.7287 MB / 0.8702 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.574e-05/0.685, allocations: 22.97 kB / 0.8702 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.685, allocations: 15.12 kB / 0.8702 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.685, allocations: 0 / 0.8702 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.004411/0.6894, allocations: 2.413 MB / 0.8726 GB, free: 10.16 MB / 0.5919 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)