Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001358/0.001358, allocations: 105.1 kB / 16.64 MB, free: 6.816 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.001278/0.001278, allocations: 186 kB / 17.57 MB, free: 5.922 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.446/1.446, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8223/0.8223, allocations: 125.4 MB / 416.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 0.4943 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4364, allocations: 78.56 MB / 0.571 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6392/1.076, allocations: 246 MB / 0.8112 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02231/1.098, allocations: 22.08 MB / 0.8328 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/1.1, allocations: 49.19 kB / 0.8328 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00314/1.104, allocations: 0.8434 MB / 0.8337 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/1.109, allocations: 1.379 MB / 0.835 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00535/1.114, allocations: 1.785 MB / 0.8368 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004545/1.119, allocations: 2.686 MB / 0.8394 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/1.121, allocations: 1.308 MB / 0.8407 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/1.126, allocations: 1.555 MB / 0.8422 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/1.128, allocations: 0.9293 MB / 0.8431 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/1.128, allocations: 110.6 kB / 0.8432 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/1.132, allocations: 1.729 MB / 0.8449 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005413/1.133, allocations: 381 kB / 0.8452 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.134, allocations: 0.6395 MB / 0.8459 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/1.137, allocations: 1.732 MB / 0.8476 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.137, allocations: 0 / 0.8476 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.534e-06/1.137, allocations: 0 / 0.8476 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.858e-05/1.137, allocations: 0 / 0.8476 GB, free: 12.93 MB / 0.5919 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.002627/1.139, allocations: 1.474 MB / 0.849 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.139, allocations: 8.281 kB / 0.849 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.141, allocations: 231.4 kB / 0.8492 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/1.142, allocations: 0.8539 MB / 0.8501 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/1.142, allocations: 183.3 kB / 0.8502 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.142, allocations: 88.66 kB / 0.8503 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.144, allocations: 0.9319 MB / 0.8512 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/1.144, allocations: 0 / 0.8512 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/1.144, allocations: 44.38 kB / 0.8513 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/1.144, allocations: 22.94 kB / 0.8513 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.145, allocations: 0.6363 MB / 0.8519 GB, free: 9.93 MB / 0.5919 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.006016/1.151, allocations: 4.441 MB / 0.8563 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/1.152, allocations: 188.9 kB / 0.8564 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/1.152, allocations: 152.8 kB / 0.8566 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.153, allocations: 1.018 MB / 0.8576 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.153, allocations: 32.69 kB / 0.8576 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 3.126e-06/1.153, allocations: 0 / 0.8576 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001233/1.155, allocations: 468.9 kB / 0.8581 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.155, allocations: 54.31 kB / 0.8581 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/1.156, allocations: 1.116 MB / 0.8592 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/1.156, allocations: 29.7 kB / 0.8592 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/1.157, allocations: 0.5126 MB / 0.8597 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/1.157, allocations: 86.75 kB / 0.8598 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.157, allocations: 98.03 kB / 0.8599 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.157, allocations: 318 kB / 0.8602 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/1.158, allocations: 128.8 kB / 0.8603 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/1.158, allocations: 385.8 kB / 0.8607 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/1.159, allocations: 465.4 kB / 0.8611 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.159, allocations: 4 kB / 0.8611 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001027/1.16, allocations: 0.539 MB / 0.8617 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.16, allocations: 12.62 kB / 0.8617 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.16, allocations: 4 kB / 0.8617 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.16, allocations: 12 kB / 0.8617 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/1.16, allocations: 95.48 kB / 0.8618 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.712e-05/1.16, allocations: 18.56 kB / 0.8618 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009121/1.161, allocations: 122.9 kB / 0.8619 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/1.161, allocations: 27.98 kB / 0.8619 GB, free: 344 kB / 0.5919 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.0005375/1.162, allocations: 293.3 kB / 0.8622 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.162, allocations: 102.9 kB / 0.8623 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007862/1.163, allocations: 426.5 kB / 0.8627 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.163, allocations: 0 / 0.8627 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.163, allocations: 3.938 kB / 0.8627 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.163, allocations: 8 kB / 0.8627 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/1.166, allocations: 1.548 MB / 0.8643 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.166, allocations: 4.562 kB / 0.8643 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/1.166, allocations: 49.14 kB / 0.8643 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/1.166, allocations: 4 kB / 0.8643 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/1.166, allocations: 8 kB / 0.8643 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/1.166, allocations: 10.38 kB / 0.8643 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.166, allocations: 10.69 kB / 0.8643 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/1.167, allocations: 0.5748 MB / 0.8649 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/1.167, allocations: 231.8 kB / 0.8651 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.168, allocations: 23.86 kB / 0.8651 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/1.168, allocations: 27.89 kB / 0.8652 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/1.168, allocations: 34.34 kB / 0.8652 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/1.168, allocations: 16 kB / 0.8652 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001149/1.169, allocations: 0.7783 MB / 0.866 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/1.169, allocations: 0 / 0.866 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001039/1.17, allocations: 287.5 kB / 0.8663 GB, free: 11.77 MB / 0.6075 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.0008111/1.171, allocations: 336 kB / 0.8666 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007038/1.172, allocations: 341.2 kB / 0.8669 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.172, allocations: 0 / 0.8669 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/1.172, allocations: 148.7 kB / 0.867 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.174, allocations: 0.5095 MB / 0.8675 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/1.178, allocations: 1.957 MB / 0.8694 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/1.179, allocations: 1.067 MB / 0.8705 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.179, allocations: 67.44 kB / 0.8706 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2.104e-06/1.179, allocations: 4 kB / 0.8706 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of Templates: time 0.03009/1.209, allocations: 17.12 MB / 0.8873 GB, free: 6.398 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)