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.001125/0.001126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 275 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.91/0.91, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 98.2 kB / 0.5952 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1799, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5619/0.7418, allocations: 170.3 MB / 0.8465 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006106/0.7479, allocations: 6.003 MB / 0.8524 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.7482, allocations: 8.094 kB / 0.8524 GB, free: 11.59 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.7489, allocations: 195.8 kB / 0.8526 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.7492, allocations: 87.66 kB / 0.8526 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.7504, allocations: 0.5185 MB / 0.8532 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.7509, allocations: 407.7 kB / 0.8535 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.7512, allocations: 134.7 kB / 0.8537 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.7515, allocations: 198.1 kB / 0.8539 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.7517, allocations: 143.2 kB / 0.854 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.7517, allocations: 15.94 kB / 0.854 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.7524, allocations: 464.7 kB / 0.8545 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.7525, allocations: 64.83 kB / 0.8545 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.7527, allocations: 105.7 kB / 0.8546 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.7532, allocations: 452.8 kB / 0.8551 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7532, allocations: 0 / 0.8551 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7533, allocations: 0 / 0.8551 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7533, allocations: 0 / 0.8551 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.0005785/0.7539, allocations: 0.5166 MB / 0.8556 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7539, allocations: 10.09 kB / 0.8556 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.7542, allocations: 42.23 kB / 0.8556 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.7545, allocations: 251.1 kB / 0.8558 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.7546, allocations: 130.5 kB / 0.856 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.7547, allocations: 20.47 kB / 0.856 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.7551, allocations: 294.3 kB / 0.8563 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7551, allocations: 6.812 kB / 0.8563 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.7551, allocations: 10.84 kB / 0.8563 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.7551, allocations: 13.38 kB / 0.8563 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.7554, allocations: 160.8 kB / 0.8565 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.7567, allocations: 1.576 MB / 0.858 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.7568, allocations: 173.1 kB / 0.8582 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.7568, allocations: 82.64 kB / 0.8582 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.7569, allocations: 75.28 kB / 0.8583 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.7569, allocations: 114.8 kB / 0.8584 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.7569, allocations: 0 / 0.8584 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.757, allocations: 50.78 kB / 0.8585 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.7571, allocations: 130.7 kB / 0.8586 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.7574, allocations: 310.9 kB / 0.8589 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.7574, allocations: 32.14 kB / 0.8589 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.7575, allocations: 185.7 kB / 0.8591 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.7575, allocations: 4 kB / 0.8591 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.7576, allocations: 44.61 kB / 0.8591 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7577, allocations: 330.1 kB / 0.8595 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.7578, allocations: 38.56 kB / 0.8595 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.758, allocations: 162.8 kB / 0.8596 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.7582, allocations: 202.8 kB / 0.8598 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7582, allocations: 0 / 0.8598 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003759/0.7586, allocations: 214.3 kB / 0.86 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7586, allocations: 6.812 kB / 0.8601 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7586, allocations: 8.562 kB / 0.8601 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.7586, allocations: 6.438 kB / 0.8601 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.7588, allocations: 45.14 kB / 0.8601 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.7588, allocations: 13.52 kB / 0.8601 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.759, allocations: 36.31 kB / 0.8602 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.759, allocations: 10.12 kB / 0.8602 GB, free: 5.027 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.0001355/0.7591, allocations: 218.5 kB / 0.8604 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.7592, allocations: 123 kB / 0.8605 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.7593, allocations: 128.6 kB / 0.8606 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.173e-05/0.7593, allocations: 180.3 kB / 0.8608 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.825e-05/0.7594, allocations: 183.5 kB / 0.861 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.406e-05/0.7595, allocations: 180.2 kB / 0.8611 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.7597, allocations: 481 kB / 0.8616 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/0.7598, allocations: 108.9 kB / 0.8617 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.7598, allocations: 108.3 kB / 0.8618 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.142e-05/0.7599, allocations: 180.3 kB / 0.862 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/0.7599, allocations: 184.3 kB / 0.8621 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.717e-05/0.76, allocations: 179 kB / 0.8623 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.644e-05/0.7601, allocations: 184.2 kB / 0.8625 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.7602, allocations: 331.8 kB / 0.8628 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.7603, allocations: 201.3 kB / 0.863 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.7604, allocations: 180.2 kB / 0.8632 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.7605, allocations: 111.6 kB / 0.8633 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.7606, allocations: 180.2 kB / 0.8635 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.7606, allocations: 108.9 kB / 0.8636 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002168/0.7608, allocations: 222.6 kB / 0.8638 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7608, allocations: 0 / 0.8638 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003428/0.7612, allocations: 54.44 kB / 0.8638 GB, free: 1.266 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.0003333/0.7615, allocations: 205.8 kB / 0.864 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.7617, allocations: 79.52 kB / 0.8641 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7617, allocations: 320 / 0.8641 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.7617, allocations: 6.656 kB / 0.8641 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.7622, allocations: 474.6 kB / 0.8646 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.7628, allocations: 414.3 kB / 0.8649 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.7631, allocations: 0.7323 MB / 0.8657 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.7633, allocations: 32.41 kB / 0.8657 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.7633, allocations: 17.47 kB / 0.8657 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7633, allocations: 0 / 0.8657 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.004891/0.7682, allocations: 1.826 MB / 0.8675 GB, free: 14.61 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)