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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0009609/0.0009609, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001153/0.001153, allocations: 172.7 kB / 15.95 MB, free: 192 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.282/1.282, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7828/0.7828, allocations: 132.4 MB / 423.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 16.88 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.346, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2289/0.575, allocations: 227.4 MB / 0.8051 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3327/0.9077, allocations: 20.69 MB / 0.8253 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.909, allocations: 46.59 kB / 0.8254 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.9109, allocations: 0.6395 MB / 0.826 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.9136, allocations: 1.155 MB / 0.8271 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.9171, allocations: 1.354 MB / 0.8284 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.9202, allocations: 2.984 MB / 0.8313 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.9215, allocations: 0.9045 MB / 0.8322 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.9235, allocations: 1.053 MB / 0.8333 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.9245, allocations: 0.8097 MB / 0.834 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.9246, allocations: 38.12 kB / 0.8341 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.9269, allocations: 0.8985 MB / 0.835 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.9272, allocations: 281.4 kB / 0.8352 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.9274, allocations: 258 kB / 0.8355 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.9289, allocations: 1.573 MB / 0.837 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9289, allocations: 0.9062 kB / 0.837 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.124e-06/0.929, allocations: 4 kB / 0.837 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.929, allocations: 0 / 0.837 GB, free: 8.121 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.001857/0.9308, allocations: 1.244 MB / 0.8382 GB, free: 23.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.9309, allocations: 8.781 kB / 0.8382 GB, free: 23.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.9319, allocations: 234 kB / 0.8385 GB, free: 23.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.933, allocations: 0.8238 MB / 0.8393 GB, free: 22.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.9332, allocations: 184 kB / 0.8394 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.9333, allocations: 89.41 kB / 0.8395 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.9349, allocations: 0.9252 MB / 0.8404 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.9349, allocations: 2.906 kB / 0.8404 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.935, allocations: 39.56 kB / 0.8405 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.935, allocations: 22.84 kB / 0.8405 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.9361, allocations: 0.6254 MB / 0.8411 GB, free: 22.71 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.00375/0.9399, allocations: 4.443 MB / 0.8454 GB, free: 19.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.9402, allocations: 188.8 kB / 0.8456 GB, free: 19.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.9403, allocations: 142.3 kB / 0.8458 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008972/0.9412, allocations: 1.025 MB / 0.8468 GB, free: 18.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.9413, allocations: 37.08 kB / 0.8468 GB, free: 18.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.9413, allocations: 0 / 0.8468 GB, free: 18.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0008373/0.9421, allocations: 469 kB / 0.8472 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.9422, allocations: 57.25 kB / 0.8473 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.9433, allocations: 1.091 MB / 0.8484 GB, free: 18.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.9433, allocations: 35.23 kB / 0.8484 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.9436, allocations: 0.5045 MB / 0.8489 GB, free: 18.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.9437, allocations: 84.7 kB / 0.849 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.9437, allocations: 9.75 kB / 0.849 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.9438, allocations: 324.4 kB / 0.8493 GB, free: 17.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.944, allocations: 127.2 kB / 0.8494 GB, free: 17.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.9443, allocations: 384.9 kB / 0.8498 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.9446, allocations: 181.9 kB / 0.8499 GB, free: 17.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9446, allocations: 2.906 kB / 0.85 GB, free: 17.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007174/0.9453, allocations: 0.5355 MB / 0.8505 GB, free: 17.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.9453, allocations: 12.03 kB / 0.8505 GB, free: 17.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.9454, allocations: 9.703 kB / 0.8505 GB, free: 17.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.9454, allocations: 9.156 kB / 0.8505 GB, free: 17.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.9457, allocations: 92.09 kB / 0.8506 GB, free: 17.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.9457, allocations: 14.36 kB / 0.8506 GB, free: 17.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.9464, allocations: 125.6 kB / 0.8507 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.9465, allocations: 25.39 kB / 0.8507 GB, free: 17.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003157/0.9468, allocations: 293.6 kB / 0.851 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.9469, allocations: 99.78 kB / 0.8511 GB, free: 17.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.9475, allocations: 428.6 kB / 0.8515 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.9475, allocations: 9.109 kB / 0.8515 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9475, allocations: 4 kB / 0.8515 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9475, allocations: 3.219 kB / 0.8515 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.9492, allocations: 1.545 MB / 0.8531 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9492, allocations: 2.688 kB / 0.8531 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.9494, allocations: 47.52 kB / 0.8531 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9494, allocations: 8.625 kB / 0.8531 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.9494, allocations: 9.312 kB / 0.8531 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9494, allocations: 5.469 kB / 0.8531 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9494, allocations: 12.7 kB / 0.8531 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.9499, allocations: 0.5729 MB / 0.8537 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.9502, allocations: 237.2 kB / 0.8539 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.9503, allocations: 22.44 kB / 0.8539 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.9507, allocations: 34.88 kB / 0.854 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.9508, allocations: 32 kB / 0.854 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.9508, allocations: 17.39 kB / 0.854 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000862/0.9517, allocations: 0.7624 MB / 0.8548 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9517, allocations: 0 / 0.8548 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009028/0.9526, allocations: 286.8 kB / 0.855 GB, free: 16.03 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.0005259/0.9531, allocations: 308.8 kB / 0.8553 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005038/0.9537, allocations: 329.8 kB / 0.8557 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9537, allocations: 1.375 kB / 0.8557 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.9538, allocations: 141.8 kB / 0.8558 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.9558, allocations: 489.5 kB / 0.8563 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.9577, allocations: 1.81 MB / 0.858 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.9583, allocations: 1.067 MB / 0.8591 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006927/0.959, allocations: 198.7 kB / 0.8593 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.9591, allocations: 68.83 kB / 0.8593 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.9591, allocations: 0 / 0.8593 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.02293/0.9821, allocations: 16.86 MB / 0.8758 GB, free: 10.23 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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)