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.0007592/0.0007593, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005543/0.005543, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 267.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9692/0.9692, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 12.5 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1693, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4914/0.6607, allocations: 169.6 MB / 0.8507 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008493/0.6693, allocations: 9.379 MB / 0.8599 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.6696, allocations: 9.062 kB / 0.8599 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.6701, allocations: 155.7 kB / 0.86 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.6704, allocations: 78.28 kB / 0.8601 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.6705, allocations: 56.66 kB / 0.8602 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.6708, allocations: 379.1 kB / 0.8605 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.6711, allocations: 140.8 kB / 0.8607 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.6713, allocations: 119.1 kB / 0.8608 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.6715, allocations: 82.23 kB / 0.8608 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.6715, allocations: 6.828 kB / 0.8608 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.6715, allocations: 5.094 kB / 0.8609 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.6715, allocations: 17.62 kB / 0.8609 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.6716, allocations: 103 kB / 0.861 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.6718, allocations: 191.6 kB / 0.8612 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.6718, allocations: 4 kB / 0.8612 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6718, allocations: 0 / 0.8612 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6719, allocations: 0 / 0.8612 GB, free: 5.531 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.0004089/0.6723, allocations: 434.4 kB / 0.8616 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6723, allocations: 10.88 kB / 0.8616 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.6724, allocations: 26.5 kB / 0.8616 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.6726, allocations: 248 kB / 0.8618 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.6726, allocations: 13.16 kB / 0.8619 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.6727, allocations: 29.8 kB / 0.8619 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.673, allocations: 232.2 kB / 0.8621 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.673, allocations: 0 / 0.8621 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.673, allocations: 10.94 kB / 0.8621 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6731, allocations: 12.56 kB / 0.8621 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.6732, allocations: 87.38 kB / 0.8622 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.6741, allocations: 1.435 MB / 0.8636 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.6742, allocations: 169.1 kB / 0.8638 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.6742, allocations: 80.14 kB / 0.8638 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.6742, allocations: 79.22 kB / 0.8639 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.6743, allocations: 116.8 kB / 0.864 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6743, allocations: 0 / 0.864 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.187e-05/0.6743, allocations: 48.75 kB / 0.8641 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.6744, allocations: 130.7 kB / 0.8642 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.6747, allocations: 282.1 kB / 0.8645 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.6747, allocations: 25.7 kB / 0.8645 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.6748, allocations: 147.6 kB / 0.8646 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.6748, allocations: 0 / 0.8646 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.6748, allocations: 17.64 kB / 0.8647 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6749, allocations: 331.7 kB / 0.865 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.6749, allocations: 2.875 kB / 0.865 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.675, allocations: 40.61 kB / 0.865 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.675, allocations: 33.19 kB / 0.865 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.675, allocations: 0 / 0.865 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001186/0.6751, allocations: 78 kB / 0.8651 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6752, allocations: 7.766 kB / 0.8651 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6752, allocations: 3.938 kB / 0.8651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.6752, allocations: 1.781 kB / 0.8651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.6752, allocations: 6.25 kB / 0.8651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.6752, allocations: 0 / 0.8651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.6753, allocations: 21.19 kB / 0.8652 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.6753, allocations: 2.438 kB / 0.8652 GB, free: 1.633 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.000105/0.6754, allocations: 215.2 kB / 0.8654 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.6755, allocations: 128 kB / 0.8655 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.6756, allocations: 122.6 kB / 0.8656 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/0.6756, allocations: 183.2 kB / 0.8658 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.183e-05/0.6757, allocations: 176.3 kB / 0.8659 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.388e-05/0.6757, allocations: 184.2 kB / 0.8661 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.676, allocations: 476.7 kB / 0.8666 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.676, allocations: 101 kB / 0.8667 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.6761, allocations: 104.9 kB / 0.8668 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-05/0.6761, allocations: 179 kB / 0.8669 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.6762, allocations: 180.2 kB / 0.8671 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.134e-05/0.6762, allocations: 184.2 kB / 0.8673 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.399e-05/0.6763, allocations: 182.8 kB / 0.8675 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.6764, allocations: 323.3 kB / 0.8678 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.6765, allocations: 202.9 kB / 0.868 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.6766, allocations: 191.2 kB / 0.8682 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.6767, allocations: 105 kB / 0.8683 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.6768, allocations: 188.2 kB / 0.8684 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.6768, allocations: 103.5 kB / 0.8685 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001721/0.677, allocations: 203.6 kB / 0.8687 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.677, allocations: 0 / 0.8687 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002341/0.6772, allocations: 22.56 kB / 0.8687 GB, free: 13.9 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.0001135/0.6773, allocations: 174.4 kB / 0.8689 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.494e-05/0.6774, allocations: 24.58 kB / 0.8689 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6774, allocations: 0 / 0.8689 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.6774, allocations: 0 / 0.8689 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.6782, allocations: 0.6076 MB / 0.8695 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.6787, allocations: 415.9 kB / 0.8699 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.6789, allocations: 0.7271 MB / 0.8706 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.07e-05/0.679, allocations: 20.17 kB / 0.8707 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.6791, allocations: 15.47 kB / 0.8707 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6791, allocations: 0 / 0.8707 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.004501/0.6836, allocations: 2.292 MB / 0.8729 GB, free: 10.95 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)