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.00125/0.00125, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.0012/0.0012, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00231/0.00231, allocations: 287.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 94.66 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 86.98 MB / 0.6808 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4737/0.6477, allocations: 174 MB / 0.8507 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009967/0.6578, allocations: 9.515 MB / 0.86 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.6581, allocations: 11.94 kB / 0.8601 GB, free: 7.402 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.0007194/0.6589, allocations: 190.7 kB / 0.8602 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.6593, allocations: 91.38 kB / 0.8603 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.6595, allocations: 63.86 kB / 0.8604 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.6599, allocations: 318.7 kB / 0.8607 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.6602, allocations: 149.4 kB / 0.8608 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.6606, allocations: 155.4 kB / 0.861 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.6608, allocations: 115.4 kB / 0.8611 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.6608, allocations: 16 kB / 0.8611 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.6608, allocations: 16 kB / 0.8611 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.6609, allocations: 31.86 kB / 0.8611 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.661, allocations: 103.5 kB / 0.8612 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.6612, allocations: 203.3 kB / 0.8614 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6612, allocations: 0 / 0.8614 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6612, allocations: 3.938 kB / 0.8614 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6612, allocations: 0 / 0.8614 GB, free: 5.973 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.0004869/0.6617, allocations: 471.7 kB / 0.8619 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.6618, allocations: 8.031 kB / 0.8619 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.6618, allocations: 27.66 kB / 0.8619 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.6621, allocations: 246.6 kB / 0.8622 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.6622, allocations: 16.44 kB / 0.8622 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.6622, allocations: 20 kB / 0.8622 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.6625, allocations: 231.8 kB / 0.8624 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6626, allocations: 0 / 0.8624 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.6626, allocations: 14.62 kB / 0.8624 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6626, allocations: 7.938 kB / 0.8624 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.6628, allocations: 91.84 kB / 0.8625 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.6638, allocations: 1.433 MB / 0.8639 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.6639, allocations: 173.2 kB / 0.8641 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.664, allocations: 88.14 kB / 0.8642 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.664, allocations: 79.22 kB / 0.8642 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.6641, allocations: 105.8 kB / 0.8644 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.6641, allocations: 0 / 0.8644 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 9.099e-05/0.6642, allocations: 49.42 kB / 0.8644 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.6642, allocations: 130.7 kB / 0.8645 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.6646, allocations: 291 kB / 0.8648 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.6646, allocations: 25.7 kB / 0.8648 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.6647, allocations: 139.9 kB / 0.865 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.6647, allocations: 4 kB / 0.865 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.6647, allocations: 13.83 kB / 0.865 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6649, allocations: 346.7 kB / 0.8653 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.6649, allocations: 0 / 0.8653 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.6649, allocations: 35.36 kB / 0.8653 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.665, allocations: 39.38 kB / 0.8654 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.665, allocations: 0 / 0.8654 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.6651, allocations: 73.34 kB / 0.8654 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6652, allocations: 4 kB / 0.8655 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6652, allocations: 4 kB / 0.8655 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6652, allocations: 0 / 0.8655 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.6652, allocations: 7.984 kB / 0.8655 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6653, allocations: 4 kB / 0.8655 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.6653, allocations: 19.69 kB / 0.8655 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.6653, allocations: 8.125 kB / 0.8655 GB, free: 1.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.0001211/0.6655, allocations: 205 kB / 0.8657 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.6656, allocations: 120.7 kB / 0.8658 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.6656, allocations: 125.9 kB / 0.8659 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.387e-05/0.6657, allocations: 180.2 kB / 0.8661 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.786e-05/0.6658, allocations: 184.2 kB / 0.8663 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/0.6658, allocations: 184.2 kB / 0.8664 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.6661, allocations: 473 kB / 0.8669 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/0.6662, allocations: 101 kB / 0.867 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.6662, allocations: 108.9 kB / 0.8671 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.227e-05/0.6663, allocations: 180.2 kB / 0.8673 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.6664, allocations: 184.2 kB / 0.8674 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.767e-05/0.6664, allocations: 176.3 kB / 0.8676 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.6665, allocations: 184.3 kB / 0.8678 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.6667, allocations: 327.8 kB / 0.8681 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.6668, allocations: 205.8 kB / 0.8683 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.6669, allocations: 184.3 kB / 0.8685 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.667, allocations: 108.9 kB / 0.8686 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.667, allocations: 180.2 kB / 0.8687 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.6671, allocations: 105 kB / 0.8688 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001811/0.6673, allocations: 206 kB / 0.869 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6673, allocations: 0 / 0.869 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002599/0.6676, allocations: 24 kB / 0.8691 GB, free: 13.63 MB / 0.6387 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.0001145/0.6677, allocations: 174.5 kB / 0.8692 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.6677, allocations: 23.81 kB / 0.8693 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6678, allocations: 0 / 0.8693 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.6678, allocations: 0 / 0.8693 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.6686, allocations: 0.535 MB / 0.8698 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.6691, allocations: 391.2 kB / 0.8702 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.6694, allocations: 0.7283 MB / 0.8709 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.6695, allocations: 15.44 kB / 0.8709 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.6695, allocations: 0 / 0.8709 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.004297/0.6738, allocations: 2.369 MB / 0.8732 GB, free: 9.367 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)