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.0009334/0.000933, allocations: 97.64 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.005608/0.005609, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.000436, allocations: 16.59 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3695, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.03/1.4, allocations: 243.4 MB / 1.312 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02507/1.425, allocations: 21.99 MB / 1.333 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/1.428, allocations: 47.06 kB / 1.333 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003261/1.431, allocations: 0.7897 MB / 1.334 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/1.436, allocations: 1.385 MB / 1.335 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005292/1.441, allocations: 1.769 MB / 1.337 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004475/1.446, allocations: 3.536 MB / 1.341 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/1.447, allocations: 1.084 MB / 1.342 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/1.45, allocations: 1.124 MB / 1.343 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/1.452, allocations: 0.8571 MB / 1.344 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.452, allocations: 33.75 kB / 1.344 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/1.455, allocations: 1.873 MB / 1.345 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003564/1.456, allocations: 286.2 kB / 1.346 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/1.457, allocations: 0.5646 MB / 1.346 GB, free: 20.4 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/1.46, allocations: 2.253 MB / 1.349 GB, free: 20.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.46, allocations: 3.094 kB / 1.349 GB, free: 20.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/1.46, allocations: 0 / 1.349 GB, free: 20.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.06e-05/1.46, allocations: 0 / 1.349 GB, free: 20.14 MB / 1.014 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.001733/1.462, allocations: 1.233 MB / 1.35 GB, free: 19.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.462, allocations: 8.75 kB / 1.35 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.463, allocations: 231.8 kB / 1.35 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.464, allocations: 0.8443 MB / 1.351 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/1.464, allocations: 188.3 kB / 1.351 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.464, allocations: 89.59 kB / 1.351 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/1.466, allocations: 0.9319 MB / 1.352 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.466, allocations: 2.625 kB / 1.352 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/1.466, allocations: 39.86 kB / 1.352 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/1.466, allocations: 19.56 kB / 1.352 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009823/1.467, allocations: 0.627 MB / 1.353 GB, free: 18.69 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.004261/1.471, allocations: 4.452 MB / 1.357 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/1.472, allocations: 188.8 kB / 1.357 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/1.472, allocations: 150.5 kB / 1.357 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.473, allocations: 1.023 MB / 1.358 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.473, allocations: 41.72 kB / 1.358 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.495e-06/1.473, allocations: 0 / 1.358 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001036/1.474, allocations: 472.8 kB / 1.359 GB, free: 14.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.474, allocations: 54.34 kB / 1.359 GB, free: 14.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/1.475, allocations: 1.108 MB / 1.36 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/1.475, allocations: 32.92 kB / 1.36 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/1.476, allocations: 0.5134 MB / 1.36 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/1.476, allocations: 80.88 kB / 1.361 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/1.476, allocations: 39.16 kB / 1.361 GB, free: 13.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.476, allocations: 322.7 kB / 1.361 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.476, allocations: 126.5 kB / 1.361 GB, free: 13.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/1.476, allocations: 387.3 kB / 1.361 GB, free: 13.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/1.477, allocations: 468.3 kB / 1.362 GB, free: 12.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.477, allocations: 3.531 kB / 1.362 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008152/1.478, allocations: 0.539 MB / 1.362 GB, free: 12.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.478, allocations: 12.34 kB / 1.362 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.478, allocations: 6.281 kB / 1.362 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.478, allocations: 8.594 kB / 1.362 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/1.478, allocations: 93.42 kB / 1.362 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.478, allocations: 9.25 kB / 1.362 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/1.479, allocations: 129.5 kB / 1.363 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/1.479, allocations: 27.12 kB / 1.363 GB, free: 12.5 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.0004048/1.48, allocations: 291.2 kB / 1.363 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.48, allocations: 103.9 kB / 1.363 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/1.48, allocations: 415.8 kB / 1.363 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/1.48, allocations: 3.156 kB / 1.363 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.48, allocations: 4 kB / 1.363 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.48, allocations: 2.875 kB / 1.363 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.482, allocations: 1.553 MB / 1.365 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.482, allocations: 3.531 kB / 1.365 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.483, allocations: 46.5 kB / 1.365 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.483, allocations: 8.594 kB / 1.365 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/1.483, allocations: 5.75 kB / 1.365 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.483, allocations: 9.75 kB / 1.365 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.483, allocations: 7.656 kB / 1.365 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/1.483, allocations: 0.5744 MB / 1.366 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/1.483, allocations: 253.4 kB / 1.366 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.484, allocations: 16.88 kB / 1.366 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/1.484, allocations: 29.91 kB / 1.366 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.484, allocations: 36.7 kB / 1.366 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.484, allocations: 12.62 kB / 1.366 GB, free: 10.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009834/1.485, allocations: 0.783 MB / 1.367 GB, free: 10.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.485, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009118/1.486, allocations: 281.9 kB / 1.367 GB, free: 10.12 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.0006234/1.487, allocations: 337.8 kB / 1.367 GB, free: 9.969 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005883/1.487, allocations: 337.8 kB / 1.368 GB, free: 9.879 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.487, allocations: 0 / 1.368 GB, free: 9.879 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.488, allocations: 144.8 kB / 1.368 GB, free: 9.836 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.491, allocations: 0.5196 MB / 1.368 GB, free: 9.695 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/1.493, allocations: 1.914 MB / 1.37 GB, free: 8.438 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/1.494, allocations: 1.066 MB / 1.371 GB, free: 7.695 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007816/1.494, allocations: 201.4 kB / 1.371 GB, free: 7.648 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/1.495, allocations: 74.38 kB / 1.371 GB, free: 7.641 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.495, allocations: 4 kB / 1.371 GB, free: 7.637 MB / 1.014 GB Notification: Performance of Templates: time 0.03419/1.529, allocations: 19.47 MB / 1.39 GB, free: 14.71 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)