Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000812/0.000812, allocations: 99.08 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.00139/0.00139, allocations: 177.3 kB / 15.94 MB, free: 228 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.205/1.205, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8334/0.8334, allocations: 135.2 MB / 426.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 11.94 kB / 0.5068 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 82.3 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4829/0.6525, allocations: 205.6 MB / 0.788 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.673, allocations: 18.84 MB / 0.8064 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.675, allocations: 43.69 kB / 0.8065 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.6771, allocations: 0.587 MB / 0.807 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.6814, allocations: 1.495 MB / 0.8085 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.6854, allocations: 1.476 MB / 0.8099 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.6885, allocations: 1.779 MB / 0.8117 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.6898, allocations: 0.928 MB / 0.8126 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.6913, allocations: 0.9227 MB / 0.8135 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.6921, allocations: 0.5796 MB / 0.814 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.6922, allocations: 39.94 kB / 0.8141 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.6941, allocations: 0.8073 MB / 0.8149 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.6943, allocations: 259.2 kB / 0.8151 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.6945, allocations: 265.1 kB / 0.8154 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.6961, allocations: 1.492 MB / 0.8168 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6961, allocations: 0 / 0.8168 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6961, allocations: 0 / 0.8168 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.6961, allocations: 0 / 0.8168 GB, free: 0.7734 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.001881/0.698, allocations: 1.229 MB / 0.818 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.698, allocations: 12.03 kB / 0.818 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.6991, allocations: 222.4 kB / 0.8182 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7005, allocations: 0.8148 MB / 0.819 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.7007, allocations: 188.8 kB / 0.8192 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7008, allocations: 91.95 kB / 0.8193 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.7023, allocations: 0.9206 MB / 0.8202 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.7023, allocations: 4 kB / 0.8202 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.7024, allocations: 36 kB / 0.8202 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.7024, allocations: 24 kB / 0.8203 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.7034, allocations: 0.6246 MB / 0.8209 GB, free: 12.46 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.004441/0.7078, allocations: 4.435 MB / 0.8252 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.7082, allocations: 182.7 kB / 0.8254 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/0.7089, allocations: 0.6727 MB / 0.826 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.709, allocations: 30.56 kB / 0.8261 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.709, allocations: 4 kB / 0.8261 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.0009217/0.7099, allocations: 463.1 kB / 0.8265 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.71, allocations: 59.41 kB / 0.8266 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.7112, allocations: 1.09 MB / 0.8276 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.7112, allocations: 37.69 kB / 0.8277 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.7117, allocations: 0.5117 MB / 0.8282 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.7117, allocations: 86.78 kB / 0.8283 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.7118, allocations: 4 kB / 0.8283 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7119, allocations: 322 kB / 0.8286 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.7121, allocations: 124.8 kB / 0.8287 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.7125, allocations: 403.5 kB / 0.8291 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.7127, allocations: 179.8 kB / 0.8292 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7127, allocations: 0 / 0.8292 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000767/0.7135, allocations: 0.5388 MB / 0.8298 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.7135, allocations: 8 kB / 0.8298 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7135, allocations: 12 kB / 0.8298 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.7136, allocations: 16.7 kB / 0.8298 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.7139, allocations: 87.84 kB / 0.8299 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.7139, allocations: 19.92 kB / 0.8299 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.7146, allocations: 123 kB / 0.83 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.7147, allocations: 31.98 kB / 0.8301 GB, free: 2.332 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.0003214/0.715, allocations: 290.1 kB / 0.8303 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.7151, allocations: 106.7 kB / 0.8304 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.7158, allocations: 411.8 kB / 0.8308 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7158, allocations: 3.953 kB / 0.8308 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7158, allocations: 7.938 kB / 0.8308 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7158, allocations: 3.984 kB / 0.8308 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.7178, allocations: 1.511 MB / 0.8323 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7178, allocations: 4 kB / 0.8323 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.7179, allocations: 43.92 kB / 0.8324 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.718, allocations: 8.562 kB / 0.8324 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.718, allocations: 12 kB / 0.8324 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.718, allocations: 11.92 kB / 0.8324 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.718, allocations: 7.953 kB / 0.8324 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.7186, allocations: 0.796 MB / 0.8332 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.7189, allocations: 235.7 kB / 0.8334 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7191, allocations: 15.94 kB / 0.8334 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.7195, allocations: 39.77 kB / 0.8335 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.7195, allocations: 24.11 kB / 0.8335 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.7196, allocations: 23.94 kB / 0.8335 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009065/0.7205, allocations: 0.7586 MB / 0.8342 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7205, allocations: 0 / 0.8342 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007576/0.7213, allocations: 291.5 kB / 0.8345 GB, free: 13.44 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.0004884/0.7218, allocations: 300.3 kB / 0.8348 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.7223, allocations: 324 kB / 0.8351 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7223, allocations: 0 / 0.8351 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.7225, allocations: 137.2 kB / 0.8352 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.7244, allocations: 474.8 kB / 0.8357 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.7263, allocations: 1.817 MB / 0.8375 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.7269, allocations: 1.083 MB / 0.8385 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006071/0.7275, allocations: 190.2 kB / 0.8387 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.7277, allocations: 71.44 kB / 0.8388 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7277, allocations: 0 / 0.8388 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.02474/0.7524, allocations: 16.68 MB / 0.8551 GB, free: 8.547 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: