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.001107/0.001107, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001086/0.001086, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002129, allocations: 280.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.2 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003301/0.003301, allocations: 94.52 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1758, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4651/0.641, allocations: 174 MB / 0.8515 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.6511, allocations: 9.511 MB / 0.8608 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.6516, allocations: 7.938 kB / 0.8608 GB, free: 6.922 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.0007279/0.6524, allocations: 190.7 kB / 0.861 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.6527, allocations: 91.36 kB / 0.8611 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.6529, allocations: 67.86 kB / 0.8611 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.6533, allocations: 318.7 kB / 0.8615 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.6536, allocations: 148.5 kB / 0.8616 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.6539, allocations: 155.4 kB / 0.8617 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.654, allocations: 103.4 kB / 0.8618 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.6541, allocations: 16 kB / 0.8619 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.6541, allocations: 16 kB / 0.8619 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.6541, allocations: 43.84 kB / 0.8619 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.6542, allocations: 99.47 kB / 0.862 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.6544, allocations: 213.7 kB / 0.8622 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6545, allocations: 0 / 0.8622 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6545, allocations: 3.984 kB / 0.8622 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.6545, allocations: 0 / 0.8622 GB, free: 5.488 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.0004116/0.6549, allocations: 475.7 kB / 0.8627 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6549, allocations: 8.031 kB / 0.8627 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.655, allocations: 27.66 kB / 0.8627 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.6553, allocations: 259.7 kB / 0.863 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6553, allocations: 16.44 kB / 0.863 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.6554, allocations: 20 kB / 0.863 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.6557, allocations: 235.7 kB / 0.8632 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6557, allocations: 4 kB / 0.8632 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.6557, allocations: 8 kB / 0.8632 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.6557, allocations: 11.94 kB / 0.8632 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.6559, allocations: 87.02 kB / 0.8633 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.6568, allocations: 1.437 MB / 0.8647 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.6569, allocations: 169.1 kB / 0.8649 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.657, allocations: 88.11 kB / 0.865 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.657, allocations: 75.28 kB / 0.865 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.657, allocations: 109.8 kB / 0.8651 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.657, allocations: 0 / 0.8651 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.6571, allocations: 57.41 kB / 0.8652 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.6572, allocations: 126.7 kB / 0.8653 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.6575, allocations: 287.1 kB / 0.8656 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6575, allocations: 29.64 kB / 0.8656 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6576, allocations: 135.9 kB / 0.8657 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.6576, allocations: 11.98 kB / 0.8658 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.6577, allocations: 17.72 kB / 0.8658 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6578, allocations: 330.8 kB / 0.8661 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.6578, allocations: 11.92 kB / 0.8661 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.6578, allocations: 23.44 kB / 0.8661 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.6579, allocations: 39.38 kB / 0.8662 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6579, allocations: 0 / 0.8662 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.658, allocations: 73.34 kB / 0.8662 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.658, allocations: 6.344 kB / 0.8662 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6581, allocations: 4 kB / 0.8662 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6581, allocations: 0 / 0.8662 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.6581, allocations: 8 kB / 0.8663 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6581, allocations: 128 / 0.8663 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.6582, allocations: 27.67 kB / 0.8663 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.6582, allocations: 4 kB / 0.8663 GB, free: 1.016 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.0001036/0.6583, allocations: 209 kB / 0.8665 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.6584, allocations: 120.7 kB / 0.8666 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.6585, allocations: 121.9 kB / 0.8667 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.6585, allocations: 180.2 kB / 0.8669 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.483e-05/0.6586, allocations: 185.1 kB / 0.8671 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.217e-05/0.6586, allocations: 184.2 kB / 0.8672 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.6589, allocations: 469.1 kB / 0.8677 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/0.6589, allocations: 101 kB / 0.8678 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.659, allocations: 108.9 kB / 0.8679 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.392e-05/0.659, allocations: 184.2 kB / 0.8681 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.6591, allocations: 188.1 kB / 0.8682 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-05/0.6592, allocations: 180.3 kB / 0.8684 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.383e-05/0.6592, allocations: 188.2 kB / 0.8686 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.6594, allocations: 319.8 kB / 0.8689 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6595, allocations: 205.7 kB / 0.8691 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.6596, allocations: 180.3 kB / 0.8693 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.6597, allocations: 116.9 kB / 0.8694 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.6597, allocations: 176.3 kB / 0.8695 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.6598, allocations: 101 kB / 0.8696 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001686/0.66, allocations: 209.9 kB / 0.8698 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.66, allocations: 4 kB / 0.8698 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002339/0.6602, allocations: 24 kB / 0.8699 GB, free: 13.13 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.0001188/0.6603, allocations: 174.5 kB / 0.87 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.735e-05/0.6604, allocations: 15.92 kB / 0.87 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6604, allocations: 0 / 0.87 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6604, allocations: 0 / 0.87 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.6611, allocations: 0.5365 MB / 0.8706 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.6616, allocations: 361.5 kB / 0.8709 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.6618, allocations: 0.7283 MB / 0.8716 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.127e-05/0.6619, allocations: 17.95 kB / 0.8716 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.6619, allocations: 15.44 kB / 0.8717 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.6619, allocations: 0 / 0.8717 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.004928/0.6669, allocations: 2.415 MB / 0.874 GB, free: 8.867 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)