Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.71/1.71, allocations: 287.5 MB / 302.6 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001042, allocations: 184.4 kB / 371.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6299 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008505, allocations: 81 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 11.25 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8306/1.076, allocations: 227.4 MB / 1.201 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02525/1.101, allocations: 20.66 MB / 1.221 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003368/1.105, allocations: 47.56 kB / 1.221 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002985/1.108, allocations: 0.6305 MB / 1.222 GB, free: 40 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/1.112, allocations: 1.168 MB / 1.223 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/1.117, allocations: 1.351 MB / 1.224 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005196/1.122, allocations: 3.069 MB / 1.227 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/1.124, allocations: 1.078 MB / 1.228 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/1.127, allocations: 1.05 MB / 1.229 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/1.128, allocations: 0.8131 MB / 1.23 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/1.128, allocations: 32 kB / 1.23 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/1.131, allocations: 0.904 MB / 1.231 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/1.131, allocations: 275 kB / 1.231 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/1.131, allocations: 261.1 kB / 1.231 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/1.133, allocations: 1.59 MB / 1.233 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.133, allocations: 0 / 1.233 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.823e-06/1.133, allocations: 0 / 1.233 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.133, allocations: 0 / 1.233 GB, free: 6.793 MB / 0.7605 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.001816/1.135, allocations: 1.223 MB / 1.234 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.135, allocations: 12.03 kB / 1.234 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/1.136, allocations: 230.3 kB / 1.234 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/1.137, allocations: 0.8493 MB / 1.235 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/1.137, allocations: 184.8 kB / 1.235 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.137, allocations: 95.98 kB / 1.235 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.139, allocations: 0.9245 MB / 1.236 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.139, allocations: 4 kB / 1.236 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/1.139, allocations: 36 kB / 1.236 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/1.139, allocations: 20 kB / 1.236 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/1.14, allocations: 0.6246 MB / 1.237 GB, free: 2.445 MB / 0.7605 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.004481/1.145, allocations: 4.451 MB / 1.241 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/1.145, allocations: 186.7 kB / 1.242 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/1.145, allocations: 140.9 kB / 1.242 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.146, allocations: 1.021 MB / 1.243 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.146, allocations: 30.56 kB / 1.243 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/1.146, allocations: 0 / 1.243 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.0009941/1.147, allocations: 479.9 kB / 1.243 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.147, allocations: 55.41 kB / 1.243 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.149, allocations: 1.094 MB / 1.244 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/1.149, allocations: 33.7 kB / 1.244 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/1.149, allocations: 0.5157 MB / 1.245 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/1.149, allocations: 82.84 kB / 1.245 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/1.149, allocations: 12 kB / 1.245 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.149, allocations: 318 kB / 1.245 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/1.15, allocations: 128.8 kB / 1.245 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/1.15, allocations: 391 kB / 1.246 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/1.151, allocations: 463.6 kB / 1.246 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.151, allocations: 4 kB / 1.246 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008277/1.151, allocations: 0.5312 MB / 1.247 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.151, allocations: 14.28 kB / 1.247 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.151, allocations: 11.94 kB / 1.247 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.152, allocations: 8 kB / 1.247 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/1.152, allocations: 87.83 kB / 1.247 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/1.152, allocations: 19.86 kB / 1.247 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/1.153, allocations: 128.4 kB / 1.247 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/1.153, allocations: 31.98 kB / 1.247 GB, free: 7.375 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003731/1.153, allocations: 285.6 kB / 1.247 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.153, allocations: 102.7 kB / 1.247 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/1.154, allocations: 426.9 kB / 1.248 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.154, allocations: 0 / 1.248 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.154, allocations: 3.938 kB / 1.248 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.154, allocations: 3.984 kB / 1.248 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.156, allocations: 1.547 MB / 1.249 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.156, allocations: 4 kB / 1.249 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.156, allocations: 43.98 kB / 1.249 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/1.156, allocations: 11.94 kB / 1.249 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/1.156, allocations: 11.98 kB / 1.249 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/1.156, allocations: 11.94 kB / 1.249 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.156, allocations: 4.531 kB / 1.249 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/1.157, allocations: 0.5689 MB / 1.25 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/1.157, allocations: 247.6 kB / 1.25 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.157, allocations: 12.27 kB / 1.25 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/1.158, allocations: 31.89 kB / 1.25 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/1.158, allocations: 31.84 kB / 1.25 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/1.158, allocations: 12 kB / 1.25 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001024/1.159, allocations: 0.7664 MB / 1.251 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/1.159, allocations: 4 kB / 1.251 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008701/1.16, allocations: 287.5 kB / 1.251 GB, free: 2.758 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006555/1.16, allocations: 311.6 kB / 1.251 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005654/1.161, allocations: 320.8 kB / 1.252 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.161, allocations: 4.062 kB / 1.252 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/1.161, allocations: 143.7 kB / 1.252 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.164, allocations: 0.5145 MB / 1.252 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/1.167, allocations: 1.809 MB / 1.254 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/1.167, allocations: 1.071 MB / 1.255 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007198/1.168, allocations: 191.8 kB / 1.255 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.168, allocations: 75.42 kB / 1.256 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/1.168, allocations: 0 / 1.256 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of Templates: time 0.03284/1.201, allocations: 18.69 MB / 1.274 GB, free: 11.73 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)