Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001551/0.001551, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 68.23 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3922, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.018/1.41, allocations: 246 MB / 1.308 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02394/1.434, allocations: 22.1 MB / 1.329 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/1.437, allocations: 49.44 kB / 1.33 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/1.441, allocations: 0.8458 MB / 1.33 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/1.446, allocations: 1.377 MB / 1.332 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006705/1.453, allocations: 1.787 MB / 1.333 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004783/1.457, allocations: 2.704 MB / 1.336 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/1.46, allocations: 1.297 MB / 1.337 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/1.463, allocations: 1.337 MB / 1.339 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/1.466, allocations: 0.9547 MB / 1.34 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005078/1.466, allocations: 109.7 kB / 1.34 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.471, allocations: 1.728 MB / 1.341 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/1.471, allocations: 380.7 kB / 1.342 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/1.473, allocations: 0.6379 MB / 1.342 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/1.477, allocations: 2.34 MB / 1.345 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.477, allocations: 0 / 1.345 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/1.477, allocations: 4 kB / 1.345 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.517e-05/1.477, allocations: 0 / 1.345 GB, free: 3.531 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002031/1.479, allocations: 1.463 MB / 1.346 GB, free: 18.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.479, allocations: 11.16 kB / 1.346 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.48, allocations: 231 kB / 1.346 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.481, allocations: 0.8555 MB / 1.347 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.481, allocations: 185.5 kB / 1.347 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.481, allocations: 92.78 kB / 1.347 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.483, allocations: 0.9288 MB / 1.348 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.483, allocations: 0 / 1.348 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/1.483, allocations: 36.19 kB / 1.348 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/1.483, allocations: 23.62 kB / 1.348 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/1.484, allocations: 0.6257 MB / 1.349 GB, free: 17.78 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/1.488, allocations: 4.452 MB / 1.353 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/1.488, allocations: 185.7 kB / 1.354 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.489, allocations: 154.7 kB / 1.354 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.49, allocations: 1.022 MB / 1.355 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/1.49, allocations: 39.22 kB / 1.355 GB, free: 13.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/1.49, allocations: 3.938 kB / 1.355 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0009795/1.491, allocations: 466.2 kB / 1.355 GB, free: 12.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.491, allocations: 55 kB / 1.355 GB, free: 12.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.492, allocations: 1.111 MB / 1.356 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/1.492, allocations: 32.92 kB / 1.356 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/1.492, allocations: 0.5121 MB / 1.357 GB, free: 11.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/1.492, allocations: 86.59 kB / 1.357 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/1.493, allocations: 93.56 kB / 1.357 GB, free: 11.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.493, allocations: 325.5 kB / 1.357 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/1.493, allocations: 132 kB / 1.357 GB, free: 11.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/1.493, allocations: 375 kB / 1.358 GB, free: 11.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/1.494, allocations: 477.1 kB / 1.358 GB, free: 10.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.494, allocations: 3.312 kB / 1.358 GB, free: 10.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008196/1.495, allocations: 0.5414 MB / 1.359 GB, free: 10.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.495, allocations: 4.875 kB / 1.359 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.495, allocations: 8.656 kB / 1.359 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.495, allocations: 6.844 kB / 1.359 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/1.495, allocations: 88.16 kB / 1.359 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.495, allocations: 14 kB / 1.359 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/1.496, allocations: 135.5 kB / 1.359 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/1.496, allocations: 30.97 kB / 1.359 GB, free: 10.42 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0003743/1.496, allocations: 290 kB / 1.359 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.497, allocations: 98.44 kB / 1.359 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/1.497, allocations: 431.7 kB / 1.36 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.497, allocations: 2.719 kB / 1.36 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.497, allocations: 0 / 1.36 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.497, allocations: 3.094 kB / 1.36 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/1.499, allocations: 1.55 MB / 1.361 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.499, allocations: 2.625 kB / 1.361 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/1.5, allocations: 40.31 kB / 1.361 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.5, allocations: 10.67 kB / 1.361 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.5, allocations: 11.83 kB / 1.361 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.5, allocations: 7.594 kB / 1.361 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.5, allocations: 8.969 kB / 1.361 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/1.5, allocations: 0.5704 MB / 1.362 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/1.5, allocations: 240.3 kB / 1.362 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.501, allocations: 7.109 kB / 1.362 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/1.501, allocations: 30.81 kB / 1.362 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/1.501, allocations: 37.64 kB / 1.362 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/1.501, allocations: 10.12 kB / 1.362 GB, free: 8.441 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009628/1.502, allocations: 0.7808 MB / 1.363 GB, free: 8.113 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.502, allocations: 2.5 kB / 1.363 GB, free: 8.113 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009005/1.503, allocations: 281.5 kB / 1.363 GB, free: 8.059 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006818/1.504, allocations: 335.2 kB / 1.364 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000587/1.504, allocations: 346.4 kB / 1.364 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.504, allocations: 3.594 kB / 1.364 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/1.505, allocations: 137.5 kB / 1.364 GB, free: 7.773 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/1.507, allocations: 0.5187 MB / 1.365 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/1.509, allocations: 1.92 MB / 1.366 GB, free: 6.336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/1.51, allocations: 1.06 MB / 1.368 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008569/1.511, allocations: 196.9 kB / 1.368 GB, free: 5.555 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/1.511, allocations: 70.09 kB / 1.368 GB, free: 5.543 MB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/1.511, allocations: 0 / 1.368 GB, free: 5.543 MB / 1.014 GB Notification: Performance of Templates: time 0.03324/1.544, allocations: 18.38 MB / 1.386 GB, free: 14.63 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)