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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 206.6 kB / 16.79 MB, free: 6.84 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.148/1.148, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5901/0.5901, allocations: 115.3 MB / 405.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.94 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1138, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.406/0.5199, allocations: 246.7 MB / 0.7967 GB, free: 44 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.542, allocations: 22.27 MB / 0.8185 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.5433, allocations: 51.69 kB / 0.8185 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.5455, allocations: 0.7924 MB / 0.8193 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.5485, allocations: 1.389 MB / 0.8207 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.5522, allocations: 1.761 MB / 0.8224 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003286/0.5555, allocations: 3.529 MB / 0.8258 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.5569, allocations: 1.154 MB / 0.8269 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2607/0.8176, allocations: 1.197 MB / 0.8281 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.8191, allocations: 0.9306 MB / 0.829 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.8193, allocations: 66.53 kB / 0.8291 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.8225, allocations: 1.898 MB / 0.8309 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.8228, allocations: 340.6 kB / 0.8313 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.8235, allocations: 0.598 MB / 0.8319 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.8265, allocations: 2.306 MB / 0.8341 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.8265, allocations: 0 / 0.8341 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8265, allocations: 0 / 0.8341 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.8266, allocations: 0 / 0.8341 GB, free: 4.359 MB / 0.6387 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.001936/0.8285, allocations: 1.467 MB / 0.8355 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8285, allocations: 15.19 kB / 0.8356 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.8287, allocations: 145.3 kB / 0.8357 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.8298, allocations: 222.5 kB / 0.8359 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.8309, allocations: 0.85 MB / 0.8367 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.8312, allocations: 184.4 kB / 0.8369 GB, free: 19.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.8314, allocations: 98.59 kB / 0.837 GB, free: 19.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.8327, allocations: 0.9285 MB / 0.8379 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.8327, allocations: 0.8125 kB / 0.8379 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.8328, allocations: 42.91 kB / 0.8379 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.8328, allocations: 21.66 kB / 0.838 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.8338, allocations: 0.6292 MB / 0.8386 GB, free: 18.95 MB / 0.6544 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.003845/0.8377, allocations: 4.441 MB / 0.8429 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.838, allocations: 186.1 kB / 0.8431 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.8382, allocations: 142.9 kB / 0.8432 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009082/0.8391, allocations: 1.022 MB / 0.8442 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.8392, allocations: 34.75 kB / 0.8443 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.604e-06/0.8392, allocations: 6.109 kB / 0.8443 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009352/0.8402, allocations: 475.1 kB / 0.8447 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.8402, allocations: 55.09 kB / 0.8448 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.8414, allocations: 1.105 MB / 0.8459 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.8415, allocations: 33.77 kB / 0.8459 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.8418, allocations: 0.5095 MB / 0.8464 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.8419, allocations: 89.42 kB / 0.8465 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.842, allocations: 100.5 kB / 0.8466 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.8421, allocations: 322.7 kB / 0.8469 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.8423, allocations: 132.8 kB / 0.847 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.8427, allocations: 388.2 kB / 0.8474 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.8431, allocations: 466.2 kB / 0.8478 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8432, allocations: 1.969 kB / 0.8478 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007823/0.8439, allocations: 0.5329 MB / 0.8483 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.844, allocations: 15.23 kB / 0.8484 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.844, allocations: 6.094 kB / 0.8484 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.844, allocations: 8.969 kB / 0.8484 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.8443, allocations: 89.27 kB / 0.8485 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.8444, allocations: 14.91 kB / 0.8485 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.8451, allocations: 129 kB / 0.8486 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.8451, allocations: 28.55 kB / 0.8486 GB, free: 13.43 MB / 0.6544 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.0002974/0.8454, allocations: 283.2 kB / 0.8489 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.8456, allocations: 103.4 kB / 0.849 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.8462, allocations: 437.8 kB / 0.8494 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.8463, allocations: 2.562 kB / 0.8494 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8463, allocations: 0.9688 kB / 0.8494 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8463, allocations: 3.234 kB / 0.8494 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.8481, allocations: 1.543 MB / 0.8509 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8481, allocations: 5.062 kB / 0.8509 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.8482, allocations: 44.31 kB / 0.851 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.8483, allocations: 8.656 kB / 0.851 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.8483, allocations: 13.36 kB / 0.851 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.8483, allocations: 12.83 kB / 0.851 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8483, allocations: 6.344 kB / 0.851 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.8488, allocations: 0.5761 MB / 0.8516 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.849, allocations: 241.9 kB / 0.8518 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.8491, allocations: 8.797 kB / 0.8518 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.8496, allocations: 37.22 kB / 0.8518 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.8496, allocations: 28.98 kB / 0.8519 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.8497, allocations: 16.12 kB / 0.8519 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008109/0.8505, allocations: 0.7821 MB / 0.8526 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8505, allocations: 0 / 0.8526 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007996/0.8513, allocations: 281.7 kB / 0.8529 GB, free: 12.05 MB / 0.6544 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.001227/0.8525, allocations: 1.339 MB / 0.8542 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.853, allocations: 335.8 kB / 0.8545 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.853, allocations: 0 / 0.8545 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.8532, allocations: 144.2 kB / 0.8547 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.8552, allocations: 496.6 kB / 0.8552 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009249/0.8644, allocations: 8.207 MB / 0.8632 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.865, allocations: 1.063 MB / 0.8642 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006939/0.8657, allocations: 193.8 kB / 0.8644 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.866, allocations: 363.1 kB / 0.8647 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.866, allocations: 4 kB / 0.8647 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3464/1.212, allocations: 26.97 MB / 0.8911 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.213, allocations: 256.3 kB / 0.8913 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/3.424, allocations: 0 / 0.8913 GB, free: 0.6758 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)