Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001003/0.001003, allocations: 98.03 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.008612/0.008612, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.451/1.451, 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.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005013, allocations: 9.344 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3954, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.035/1.431, allocations: 243.4 MB / 1.312 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0234/1.454, allocations: 22 MB / 1.333 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/1.457, allocations: 51.16 kB / 1.333 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/1.46, allocations: 0.7849 MB / 1.334 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0048/1.465, allocations: 1.384 MB / 1.335 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005462/1.47, allocations: 1.776 MB / 1.337 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005086/1.475, allocations: 3.527 MB / 1.341 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/1.477, allocations: 1.09 MB / 1.342 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/1.48, allocations: 1.131 MB / 1.343 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/1.481, allocations: 0.8449 MB / 1.344 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/1.481, allocations: 37 kB / 1.344 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/1.485, allocations: 1.87 MB / 1.345 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/1.485, allocations: 292.8 kB / 1.346 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009078/1.486, allocations: 0.5602 MB / 1.346 GB, free: 20.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/1.49, allocations: 2.253 MB / 1.349 GB, free: 20.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.49, allocations: 5.75 kB / 1.349 GB, free: 20.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.49, allocations: 0 / 1.349 GB, free: 20.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.938e-05/1.49, allocations: 0 / 1.349 GB, free: 20.07 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.001738/1.491, allocations: 1.226 MB / 1.35 GB, free: 19.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.491, allocations: 11.22 kB / 1.35 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.492, allocations: 231.7 kB / 1.35 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.494, allocations: 0.8452 MB / 1.351 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.494, allocations: 191.2 kB / 1.351 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.494, allocations: 91.34 kB / 1.351 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.495, allocations: 0.9309 MB / 1.352 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.495, allocations: 0 / 1.352 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/1.496, allocations: 38.31 kB / 1.352 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/1.496, allocations: 22.72 kB / 1.352 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/1.497, allocations: 0.6298 MB / 1.353 GB, free: 18.62 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.004369/1.501, allocations: 4.452 MB / 1.357 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/1.501, allocations: 184.2 kB / 1.357 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/1.502, allocations: 152.5 kB / 1.357 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.503, allocations: 1.019 MB / 1.358 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.503, allocations: 40.62 kB / 1.358 GB, free: 14.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.876e-06/1.503, allocations: 3.938 kB / 1.358 GB, free: 14.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001001/1.504, allocations: 468.5 kB / 1.359 GB, free: 14.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.504, allocations: 54.64 kB / 1.359 GB, free: 14.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/1.505, allocations: 1.112 MB / 1.36 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/1.505, allocations: 33.02 kB / 1.36 GB, free: 14.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/1.505, allocations: 0.5066 MB / 1.36 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/1.505, allocations: 86.34 kB / 1.361 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/1.505, allocations: 36.56 kB / 1.361 GB, free: 13.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.506, allocations: 327.4 kB / 1.361 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.506, allocations: 126.5 kB / 1.361 GB, free: 13.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/1.506, allocations: 377.8 kB / 1.361 GB, free: 13.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/1.507, allocations: 472.9 kB / 1.362 GB, free: 12.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.507, allocations: 3.312 kB / 1.362 GB, free: 12.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007836/1.507, allocations: 0.544 MB / 1.362 GB, free: 12.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.507, allocations: 8.469 kB / 1.362 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.507, allocations: 6.438 kB / 1.362 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.507, allocations: 11.08 kB / 1.362 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/1.508, allocations: 87.16 kB / 1.362 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.508, allocations: 14.72 kB / 1.362 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/1.509, allocations: 135.4 kB / 1.363 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/1.509, allocations: 28.12 kB / 1.363 GB, free: 12.46 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.0003593/1.509, allocations: 282.3 kB / 1.363 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.509, allocations: 105.6 kB / 1.363 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/1.51, allocations: 426.1 kB / 1.363 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.51, allocations: 2.938 kB / 1.363 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.51, allocations: 4 kB / 1.363 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.51, allocations: 2.719 kB / 1.363 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.512, allocations: 1.553 MB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/1.512, allocations: 4.312 kB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/1.512, allocations: 40.02 kB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.512, allocations: 6.438 kB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/1.512, allocations: 11.97 kB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.512, allocations: 9.453 kB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.512, allocations: 7.75 kB / 1.365 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/1.513, allocations: 0.5855 MB / 1.366 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/1.513, allocations: 242.9 kB / 1.366 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.513, allocations: 14.02 kB / 1.366 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/1.514, allocations: 30.66 kB / 1.366 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/1.514, allocations: 31.36 kB / 1.366 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/1.514, allocations: 11.41 kB / 1.366 GB, free: 10.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009742/1.515, allocations: 0.7786 MB / 1.367 GB, free: 10.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.515, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009409/1.516, allocations: 289.5 kB / 1.367 GB, free: 10.09 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.0008064/1.516, allocations: 343.7 kB / 1.367 GB, free: 9.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006256/1.517, allocations: 332.9 kB / 1.368 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.517, allocations: 0 / 1.368 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/1.517, allocations: 136.4 kB / 1.368 GB, free: 9.805 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.52, allocations: 0.5276 MB / 1.368 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/1.523, allocations: 1.907 MB / 1.37 GB, free: 8.406 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/1.523, allocations: 1.071 MB / 1.371 GB, free: 7.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008061/1.524, allocations: 190.3 kB / 1.371 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/1.524, allocations: 81.36 kB / 1.371 GB, free: 7.605 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.524, allocations: 0 / 1.371 GB, free: 7.605 MB / 1.014 GB Notification: Performance of Templates: time 0.0358/1.56, allocations: 19.48 MB / 1.39 GB, free: 14.66 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)