Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008091/0.000809, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005365/0.005365, allocations: 170.1 kB / 16.27 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 270.5 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.948/0.948, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005391/0.0005391, allocations: 15.09 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1776, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5844/0.7621, allocations: 165.9 MB / 0.8471 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005918/0.768, allocations: 5.917 MB / 0.8529 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.7685, allocations: 10.22 kB / 0.8529 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.7691, allocations: 144.8 kB / 0.853 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.7694, allocations: 81.31 kB / 0.8531 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7706, allocations: 493 kB / 0.8536 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.7711, allocations: 479.3 kB / 0.854 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.7713, allocations: 130.6 kB / 0.8542 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.7716, allocations: 158.9 kB / 0.8543 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.7718, allocations: 140.6 kB / 0.8544 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.7718, allocations: 6.094 kB / 0.8544 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007907/0.7726, allocations: 0.5078 MB / 0.8549 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.7727, allocations: 58 kB / 0.855 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.7728, allocations: 113.8 kB / 0.8551 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.7734, allocations: 466.4 kB / 0.8556 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7734, allocations: 0 / 0.8556 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7734, allocations: 0 / 0.8556 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7734, allocations: 0 / 0.8556 GB, free: 9.805 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005683/0.774, allocations: 484.9 kB / 0.856 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.7741, allocations: 7.938 kB / 0.856 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.7743, allocations: 43.3 kB / 0.8561 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.7746, allocations: 250.7 kB / 0.8563 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.7748, allocations: 143.2 kB / 0.8564 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.7748, allocations: 18.16 kB / 0.8565 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.7753, allocations: 297.5 kB / 0.8567 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7753, allocations: 3.281 kB / 0.8567 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.7753, allocations: 6.75 kB / 0.8568 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7753, allocations: 4.875 kB / 0.8568 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.7756, allocations: 159.5 kB / 0.8569 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.7769, allocations: 1.589 MB / 0.8585 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.777, allocations: 169.1 kB / 0.8586 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.7771, allocations: 83.05 kB / 0.8587 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.7771, allocations: 79.27 kB / 0.8588 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.7772, allocations: 109.8 kB / 0.8589 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.7772, allocations: 0 / 0.8589 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.94e-05/0.7773, allocations: 49.39 kB / 0.8589 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.7773, allocations: 129.9 kB / 0.8591 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.7777, allocations: 313.1 kB / 0.8594 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.7777, allocations: 25.7 kB / 0.8594 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7778, allocations: 195.8 kB / 0.8596 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-06/0.7779, allocations: 0 / 0.8596 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.7779, allocations: 26.73 kB / 0.8596 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.778, allocations: 328.7 kB / 0.8599 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.7781, allocations: 38.91 kB / 0.8599 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.7783, allocations: 165.5 kB / 0.8601 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.7785, allocations: 191.4 kB / 0.8603 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7785, allocations: 6.781 kB / 0.8603 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004078/0.779, allocations: 209.4 kB / 0.8605 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.779, allocations: 9.234 kB / 0.8605 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.779, allocations: 13.69 kB / 0.8605 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.779, allocations: 6.031 kB / 0.8605 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.7792, allocations: 37.77 kB / 0.8605 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7792, allocations: 5.375 kB / 0.8606 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.7794, allocations: 31.03 kB / 0.8606 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.7794, allocations: 7.938 kB / 0.8606 GB, free: 5.078 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001499/0.7795, allocations: 231 kB / 0.8608 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.7796, allocations: 128.6 kB / 0.8609 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.7797, allocations: 123.8 kB / 0.8611 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/0.7797, allocations: 178.8 kB / 0.8612 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-05/0.7798, allocations: 180.2 kB / 0.8614 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-05/0.7799, allocations: 180.2 kB / 0.8616 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.7802, allocations: 485.8 kB / 0.862 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/0.7802, allocations: 105 kB / 0.8621 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.7802, allocations: 103.8 kB / 0.8622 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-05/0.7803, allocations: 180.2 kB / 0.8624 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.7804, allocations: 186.6 kB / 0.8626 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.247e-05/0.7805, allocations: 184.2 kB / 0.8628 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.585e-05/0.7805, allocations: 184.3 kB / 0.8629 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.7807, allocations: 315.4 kB / 0.8632 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.7808, allocations: 201.6 kB / 0.8634 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.7809, allocations: 195.1 kB / 0.8636 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.781, allocations: 108.9 kB / 0.8637 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.7811, allocations: 180.3 kB / 0.8639 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.7811, allocations: 111.6 kB / 0.864 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002125/0.7813, allocations: 218.1 kB / 0.8642 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7813, allocations: 3.938 kB / 0.8642 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003532/0.7817, allocations: 56.34 kB / 0.8643 GB, free: 1.309 MB / 0.5762 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.0003052/0.782, allocations: 206.9 kB / 0.8645 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.7822, allocations: 88.11 kB / 0.8645 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7822, allocations: 0 / 0.8645 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.7822, allocations: 0 / 0.8645 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.7827, allocations: 0.5415 MB / 0.8651 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.7833, allocations: 472.9 kB / 0.8655 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7836, allocations: 0.7425 MB / 0.8662 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.7837, allocations: 36.44 kB / 0.8663 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.7838, allocations: 16.28 kB / 0.8663 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7838, allocations: 0 / 0.8663 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.004547/0.7883, allocations: 1.737 MB / 0.868 GB, free: 14.55 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)