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.001211/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001373/0.001373, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4174, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.022/1.439, allocations: 246.7 MB / 1.308 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02601/1.465, allocations: 22.27 MB / 1.33 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/1.468, allocations: 49.03 kB / 1.33 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003158/1.472, allocations: 0.7829 MB / 1.331 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/1.477, allocations: 1.399 MB / 1.332 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006427/1.483, allocations: 1.767 MB / 1.334 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005809/1.489, allocations: 3.535 MB / 1.338 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/1.491, allocations: 1.147 MB / 1.339 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/1.494, allocations: 1.2 MB / 1.34 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/1.496, allocations: 0.9352 MB / 1.341 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/1.496, allocations: 68.41 kB / 1.341 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/1.501, allocations: 1.898 MB / 1.343 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004415/1.501, allocations: 339.9 kB / 1.343 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000953/1.502, allocations: 0.5924 MB / 1.344 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/1.506, allocations: 2.308 MB / 1.346 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.506, allocations: 0 / 1.346 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.506, allocations: 3.328 kB / 1.346 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.558e-05/1.506, allocations: 0 / 1.346 GB, free: 3.051 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.00244/1.508, allocations: 1.469 MB / 1.347 GB, free: 18.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.508, allocations: 14.47 kB / 1.347 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/1.51, allocations: 224.8 kB / 1.347 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/1.511, allocations: 0.8518 MB / 1.348 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/1.511, allocations: 185.3 kB / 1.348 GB, free: 17.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.511, allocations: 89.72 kB / 1.349 GB, free: 17.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.513, allocations: 0.9363 MB / 1.349 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.513, allocations: 4.875 kB / 1.349 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/1.513, allocations: 36.09 kB / 1.35 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/1.513, allocations: 24.34 kB / 1.35 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/1.514, allocations: 0.6308 MB / 1.35 GB, free: 17.44 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.00449/1.518, allocations: 4.443 MB / 1.354 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/1.519, allocations: 186.7 kB / 1.355 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/1.519, allocations: 145.4 kB / 1.355 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.52, allocations: 1.023 MB / 1.356 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.52, allocations: 34.09 kB / 1.356 GB, free: 12.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.986e-06/1.52, allocations: 0 / 1.356 GB, free: 12.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.00109/1.521, allocations: 471.9 kB / 1.356 GB, free: 12.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.521, allocations: 53.22 kB / 1.356 GB, free: 12.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/1.523, allocations: 1.107 MB / 1.357 GB, free: 11.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/1.523, allocations: 33.08 kB / 1.357 GB, free: 11.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/1.523, allocations: 0.5095 MB / 1.358 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/1.523, allocations: 85.41 kB / 1.358 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.523, allocations: 101.3 kB / 1.358 GB, free: 11.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.524, allocations: 325.6 kB / 1.358 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.524, allocations: 125.1 kB / 1.359 GB, free: 11.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/1.524, allocations: 391.2 kB / 1.359 GB, free: 10.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/1.525, allocations: 470.3 kB / 1.359 GB, free: 10.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.525, allocations: 2.594 kB / 1.359 GB, free: 10.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001044/1.526, allocations: 0.5357 MB / 1.36 GB, free: 10.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.526, allocations: 7.109 kB / 1.36 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.526, allocations: 6.844 kB / 1.36 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.526, allocations: 8.469 kB / 1.36 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/1.526, allocations: 90.53 kB / 1.36 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/1.526, allocations: 14 kB / 1.36 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/1.527, allocations: 142.4 kB / 1.36 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/1.527, allocations: 23.33 kB / 1.36 GB, free: 10.09 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.0004066/1.528, allocations: 288.4 kB / 1.36 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.528, allocations: 101.2 kB / 1.361 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/1.529, allocations: 422.3 kB / 1.361 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.529, allocations: 3.594 kB / 1.361 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.529, allocations: 0 / 1.361 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.529, allocations: 0 / 1.361 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/1.531, allocations: 1.554 MB / 1.362 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.531, allocations: 6.125 kB / 1.362 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/1.531, allocations: 43.2 kB / 1.363 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.531, allocations: 6.062 kB / 1.363 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.531, allocations: 10.52 kB / 1.363 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.531, allocations: 9.438 kB / 1.363 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.531, allocations: 4.281 kB / 1.363 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/1.532, allocations: 0.5726 MB / 1.363 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/1.532, allocations: 239.3 kB / 1.363 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.532, allocations: 15.84 kB / 1.363 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/1.533, allocations: 32.77 kB / 1.363 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/1.533, allocations: 28.31 kB / 1.363 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/1.533, allocations: 10.78 kB / 1.363 GB, free: 8.109 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001122/1.534, allocations: 0.7792 MB / 1.364 GB, free: 7.785 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.534, allocations: 6.906 kB / 1.364 GB, free: 7.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001036/1.535, allocations: 286.1 kB / 1.364 GB, free: 7.727 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.0007055/1.536, allocations: 340.9 kB / 1.365 GB, free: 7.566 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006651/1.537, allocations: 335.3 kB / 1.365 GB, free: 7.473 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.537, allocations: 4 kB / 1.365 GB, free: 7.469 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.537, allocations: 144.2 kB / 1.365 GB, free: 7.434 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.539, allocations: 0.4893 MB / 1.366 GB, free: 7.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/1.542, allocations: 1.898 MB / 1.368 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/1.542, allocations: 1.061 MB / 1.369 GB, free: 5.312 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007702/1.543, allocations: 205.7 kB / 1.369 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.543, allocations: 69.47 kB / 1.369 GB, free: 5.25 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.543, allocations: 0 / 1.369 GB, free: 5.25 MB / 1.014 GB Notification: Performance of Templates: time 0.03132/1.574, allocations: 17.8 MB / 1.386 GB, free: 13.56 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)