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.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001511/0.001511, allocations: 191.7 kB / 16.13 MB, free: 6.66 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.337/1.337, allocations: 222.9 MB / 239.8 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.001994/0.001994, allocations: 275 kB / 290.2 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001654, allocations: 97.39 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1755, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5404/0.716, allocations: 171.8 MB / 0.8473 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00866/0.7247, allocations: 9.512 MB / 0.8565 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.7251, allocations: 15.84 kB / 0.8566 GB, free: 7.742 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.000624/0.7258, allocations: 154.7 kB / 0.8567 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.7261, allocations: 78.06 kB / 0.8568 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.7262, allocations: 58.42 kB / 0.8568 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.7266, allocations: 378.4 kB / 0.8572 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.7269, allocations: 198.1 kB / 0.8574 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.7272, allocations: 157.7 kB / 0.8575 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.7274, allocations: 126.5 kB / 0.8577 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.7274, allocations: 19.41 kB / 0.8577 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.7275, allocations: 13.28 kB / 0.8577 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.7275, allocations: 72.81 kB / 0.8578 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.7277, allocations: 126.6 kB / 0.8579 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.7279, allocations: 264.7 kB / 0.8581 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.7279, allocations: 10.88 kB / 0.8581 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.066e-06/0.7279, allocations: 3.938 kB / 0.8582 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7279, allocations: 3.938 kB / 0.8582 GB, free: 6.672 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.0005098/0.7285, allocations: 0.5044 MB / 0.8586 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.7285, allocations: 8.938 kB / 0.8587 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.7286, allocations: 34.95 kB / 0.8587 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.7288, allocations: 258.7 kB / 0.8589 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.7288, allocations: 24.84 kB / 0.859 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.7289, allocations: 23.94 kB / 0.859 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.7293, allocations: 326.8 kB / 0.8593 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7293, allocations: 6.094 kB / 0.8593 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.7294, allocations: 10.22 kB / 0.8593 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7294, allocations: 11.86 kB / 0.8593 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.7296, allocations: 142.2 kB / 0.8595 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.7308, allocations: 1.821 MB / 0.8612 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.7308, allocations: 169.1 kB / 0.8614 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.7309, allocations: 84.14 kB / 0.8615 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.7309, allocations: 75.28 kB / 0.8615 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.7309, allocations: 111.8 kB / 0.8617 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.731, allocations: 0 / 0.8617 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.982e-05/0.731, allocations: 54.08 kB / 0.8617 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.7311, allocations: 126.7 kB / 0.8618 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.7315, allocations: 373.4 kB / 0.8622 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.7315, allocations: 29.7 kB / 0.8622 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.7316, allocations: 170.2 kB / 0.8624 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.7316, allocations: 2.906 kB / 0.8624 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.7316, allocations: 16.5 kB / 0.8624 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7318, allocations: 338.3 kB / 0.8627 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.7318, allocations: 6.656 kB / 0.8627 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.7318, allocations: 41.47 kB / 0.8628 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.7319, allocations: 43.7 kB / 0.8628 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7319, allocations: 2.281 kB / 0.8628 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.732, allocations: 95.03 kB / 0.8629 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.732, allocations: 9.312 kB / 0.8629 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7321, allocations: 2.5 kB / 0.8629 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7321, allocations: 0 / 0.8629 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.7321, allocations: 11.8 kB / 0.8629 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.7322, allocations: 2.25 kB / 0.8629 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.7322, allocations: 31.5 kB / 0.8629 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.7322, allocations: 2.125 kB / 0.863 GB, free: 2.16 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.0001281/0.7324, allocations: 218.4 kB / 0.8632 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.7324, allocations: 133.2 kB / 0.8633 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.7325, allocations: 133 kB / 0.8634 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/0.7326, allocations: 178.9 kB / 0.8636 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/0.7326, allocations: 176.3 kB / 0.8638 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.217e-05/0.7327, allocations: 186.1 kB / 0.8639 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.733, allocations: 490.4 kB / 0.8644 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/0.733, allocations: 104.9 kB / 0.8645 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.733, allocations: 110.8 kB / 0.8646 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.002e-05/0.7331, allocations: 183.2 kB / 0.8648 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.7331, allocations: 184.2 kB / 0.865 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.416e-05/0.7332, allocations: 180.3 kB / 0.8651 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.7333, allocations: 183 kB / 0.8653 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.7334, allocations: 322.7 kB / 0.8656 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.7335, allocations: 213.3 kB / 0.8658 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/0.7336, allocations: 186.7 kB / 0.866 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7337, allocations: 104.9 kB / 0.8661 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.7338, allocations: 176.3 kB / 0.8663 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.7338, allocations: 103.4 kB / 0.8664 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000234/0.7341, allocations: 274.2 kB / 0.8666 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7341, allocations: 0 / 0.8666 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002494/0.7343, allocations: 28.44 kB / 0.8666 GB, free: 14.38 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.0001115/0.7344, allocations: 175.5 kB / 0.8668 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.7345, allocations: 19.8 kB / 0.8668 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7345, allocations: 3.938 kB / 0.8668 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.7345, allocations: 2.5 kB / 0.8668 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008795/0.7354, allocations: 0.6161 MB / 0.8674 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.736, allocations: 492.2 kB / 0.8679 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.7363, allocations: 0.756 MB / 0.8686 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.701e-05/0.7364, allocations: 32.28 kB / 0.8687 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.7365, allocations: 20.47 kB / 0.8687 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7365, allocations: 0 / 0.8687 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of Templates: time 0.005865/0.7423, allocations: 3.029 MB / 0.8717 GB, free: 11.03 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)