Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008735/0.0008734, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001079/0.001079, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8848/0.8848, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.496/0.648, allocations: 205.6 MB / 0.788 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.6705, allocations: 18.84 MB / 0.8064 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.6726, allocations: 43.69 kB / 0.8065 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.6747, allocations: 0.5831 MB / 0.807 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.6791, allocations: 1.503 MB / 0.8085 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004202/0.6834, allocations: 1.487 MB / 0.8099 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.6871, allocations: 1.76 MB / 0.8117 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.6885, allocations: 0.924 MB / 0.8126 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.6904, allocations: 0.9266 MB / 0.8135 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.6911, allocations: 0.5835 MB / 0.814 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.6912, allocations: 32 kB / 0.8141 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.6934, allocations: 0.8112 MB / 0.8149 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.6936, allocations: 259.2 kB / 0.8151 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.6939, allocations: 265.1 kB / 0.8154 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.6957, allocations: 1.488 MB / 0.8168 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6957, allocations: 0 / 0.8168 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6957, allocations: 0 / 0.8168 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.6957, allocations: 4 kB / 0.8168 GB, free: 0.832 MB / 0.6231 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.001855/0.6976, allocations: 1.229 MB / 0.818 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.6976, allocations: 8.031 kB / 0.818 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.6987, allocations: 234.4 kB / 0.8183 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.6999, allocations: 0.8109 MB / 0.819 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.7001, allocations: 184.8 kB / 0.8192 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.7003, allocations: 103.9 kB / 0.8193 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.7017, allocations: 0.9207 MB / 0.8202 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.7018, allocations: 0 / 0.8202 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.7018, allocations: 36 kB / 0.8203 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.7019, allocations: 24 kB / 0.8203 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.7029, allocations: 0.6246 MB / 0.8209 GB, free: 12.52 MB / 0.6387 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.004252/0.7072, allocations: 4.427 MB / 0.8252 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.7075, allocations: 186.8 kB / 0.8254 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/0.7081, allocations: 0.6727 MB / 0.826 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.7081, allocations: 34.5 kB / 0.8261 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.7081, allocations: 0 / 0.8261 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.0008966/0.709, allocations: 469.3 kB / 0.8265 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.7091, allocations: 55.34 kB / 0.8266 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.7103, allocations: 1.094 MB / 0.8276 GB, free: 5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.7104, allocations: 33.7 kB / 0.8277 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.7107, allocations: 0.5079 MB / 0.8282 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.7108, allocations: 90.77 kB / 0.8283 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.7108, allocations: 4 kB / 0.8283 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.711, allocations: 326 kB / 0.8286 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.7112, allocations: 120.8 kB / 0.8287 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.7116, allocations: 403.5 kB / 0.8291 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.7118, allocations: 175.8 kB / 0.8292 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7118, allocations: 4 kB / 0.8293 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007553/0.7126, allocations: 0.5396 MB / 0.8298 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.7126, allocations: 8 kB / 0.8298 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.7127, allocations: 16.08 kB / 0.8298 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.7127, allocations: 11.95 kB / 0.8298 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.713, allocations: 95.83 kB / 0.8299 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.713, allocations: 11.98 kB / 0.8299 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.7137, allocations: 123 kB / 0.83 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.7138, allocations: 23.98 kB / 0.8301 GB, free: 2.395 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0003331/0.7141, allocations: 294.1 kB / 0.8303 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.7142, allocations: 102.7 kB / 0.8304 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.7149, allocations: 410.5 kB / 0.8308 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.7149, allocations: 7.953 kB / 0.8308 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7149, allocations: 8 kB / 0.8308 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7149, allocations: 0 / 0.8308 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.7168, allocations: 1.512 MB / 0.8323 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.7168, allocations: 8.094 kB / 0.8323 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.717, allocations: 43.92 kB / 0.8324 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.717, allocations: 11.94 kB / 0.8324 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.717, allocations: 8 kB / 0.8324 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.717, allocations: 11.94 kB / 0.8324 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.717, allocations: 7.953 kB / 0.8324 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.7177, allocations: 0.7882 MB / 0.8332 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.718, allocations: 243.7 kB / 0.8334 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.7181, allocations: 12 kB / 0.8334 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.7186, allocations: 43.77 kB / 0.8335 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.7186, allocations: 23.92 kB / 0.8335 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.7186, allocations: 15.95 kB / 0.8335 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009013/0.7195, allocations: 0.7742 MB / 0.8343 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7196, allocations: 0 / 0.8343 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007739/0.7203, allocations: 279.5 kB / 0.8345 GB, free: 13.5 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 (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.0005709/0.7209, allocations: 297.8 kB / 0.8348 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.7214, allocations: 325.3 kB / 0.8351 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.7214, allocations: 0 / 0.8351 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.7216, allocations: 140.4 kB / 0.8352 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.7236, allocations: 481.4 kB / 0.8357 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.7257, allocations: 1.809 MB / 0.8375 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.7263, allocations: 1.09 MB / 0.8385 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006558/0.7269, allocations: 191.8 kB / 0.8387 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.7271, allocations: 67.42 kB / 0.8388 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.7271, allocations: 3.938 kB / 0.8388 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of Templates: time 0.02587/0.753, allocations: 16.68 MB / 0.8551 GB, free: 8.598 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: