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.0009632/0.0009631, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00107/0.00107, allocations: 172.7 kB / 15.95 MB, free: 208 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 13.84 kB / 0.507 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 82.31 MB / 0.5874 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6526/0.8693, allocations: 227.3 MB / 0.8094 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02661/0.8959, allocations: 20.69 MB / 0.8296 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.8991, allocations: 43.69 kB / 0.8297 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.9026, allocations: 0.644 MB / 0.8303 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.908, allocations: 1.162 MB / 0.8314 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.9131, allocations: 1.346 MB / 0.8327 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005491/0.9186, allocations: 2.989 MB / 0.8356 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.9208, allocations: 0.8969 MB / 0.8365 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.9241, allocations: 1.062 MB / 0.8376 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.9257, allocations: 0.8092 MB / 0.8383 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.832e-05/0.9259, allocations: 36 kB / 0.8384 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.9291, allocations: 0.904 MB / 0.8393 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.9294, allocations: 271 kB / 0.8395 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005167/0.9299, allocations: 261.1 kB / 0.8398 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.932, allocations: 1.578 MB / 0.8413 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9321, allocations: 0 / 0.8413 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9321, allocations: 0 / 0.8413 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.9321, allocations: 0 / 0.8413 GB, free: 8.289 MB / 0.6544 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.001996/0.9341, allocations: 1.248 MB / 0.8425 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.9342, allocations: 12.03 kB / 0.8425 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.9352, allocations: 222.4 kB / 0.8428 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.9365, allocations: 0.8148 MB / 0.8436 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.9367, allocations: 196.8 kB / 0.8437 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.9368, allocations: 88 kB / 0.8438 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.9384, allocations: 0.9284 MB / 0.8447 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.9384, allocations: 0 / 0.8447 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.9385, allocations: 40 kB / 0.8448 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.9385, allocations: 24 kB / 0.8448 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.9396, allocations: 0.6207 MB / 0.8454 GB, free: 3.953 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.005076/0.9447, allocations: 4.451 MB / 0.8497 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.9451, allocations: 190.7 kB / 0.8499 GB, free: 14.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.9453, allocations: 140.9 kB / 0.8501 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.9464, allocations: 1.025 MB / 0.8511 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.9464, allocations: 39.52 kB / 0.8511 GB, free: 13.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.9464, allocations: 0 / 0.8511 GB, free: 13.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001051/0.9475, allocations: 469.7 kB / 0.8515 GB, free: 13.01 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.9475, allocations: 55.34 kB / 0.8516 GB, free: 12.95 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.9489, allocations: 1.098 MB / 0.8527 GB, free: 11.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.949, allocations: 33.7 kB / 0.8527 GB, free: 11.79 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.9495, allocations: 0.5157 MB / 0.8532 GB, free: 11.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.9495, allocations: 82.84 kB / 0.8533 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.9496, allocations: 8 kB / 0.8533 GB, free: 11.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9497, allocations: 318 kB / 0.8536 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.9499, allocations: 128.8 kB / 0.8537 GB, free: 10.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.9504, allocations: 383.1 kB / 0.8541 GB, free: 10.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.9507, allocations: 183.9 kB / 0.8543 GB, free: 10.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9507, allocations: 3.938 kB / 0.8543 GB, free: 10.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009075/0.9516, allocations: 0.5314 MB / 0.8548 GB, free: 9.539 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.9517, allocations: 11.95 kB / 0.8548 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.9517, allocations: 11.98 kB / 0.8548 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.9517, allocations: 8 kB / 0.8548 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.9521, allocations: 87.83 kB / 0.8549 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.9521, allocations: 8 kB / 0.8549 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/0.953, allocations: 135.4 kB / 0.855 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.9531, allocations: 31.88 kB / 0.8551 GB, free: 9.25 MB / 0.67 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.0004878/0.9536, allocations: 286.2 kB / 0.8553 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.9537, allocations: 98.78 kB / 0.8554 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.9544, allocations: 428 kB / 0.8558 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9544, allocations: 4 kB / 0.8558 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9545, allocations: 0 / 0.8558 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.9545, allocations: 3.984 kB / 0.8558 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.9566, allocations: 1.546 MB / 0.8574 GB, free: 6.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.9566, allocations: 4 kB / 0.8574 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.9568, allocations: 39.92 kB / 0.8574 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.9568, allocations: 4 kB / 0.8574 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.9568, allocations: 12 kB / 0.8574 GB, free: 6.711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.9568, allocations: 20.44 kB / 0.8574 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.9568, allocations: 8 kB / 0.8574 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.9574, allocations: 0.5702 MB / 0.858 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.9578, allocations: 235.7 kB / 0.8582 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.9579, allocations: 12 kB / 0.8582 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.9583, allocations: 43.77 kB / 0.8583 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.9584, allocations: 27.91 kB / 0.8583 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.9584, allocations: 15.95 kB / 0.8583 GB, free: 5.695 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009607/0.9594, allocations: 0.7664 MB / 0.8591 GB, free: 4.922 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9594, allocations: 4 kB / 0.8591 GB, free: 4.918 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009545/0.9603, allocations: 287.5 kB / 0.8593 GB, free: 4.637 MB / 0.67 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.000623/0.961, allocations: 317.1 kB / 0.8596 GB, free: 4.332 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.9615, allocations: 328.8 kB / 0.86 GB, free: 4.012 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9615, allocations: 0 / 0.86 GB, free: 4.012 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.9617, allocations: 139.8 kB / 0.8601 GB, free: 3.875 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.9637, allocations: 481.2 kB / 0.8606 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.9664, allocations: 1.813 MB / 0.8623 GB, free: 1.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.9672, allocations: 1.063 MB / 0.8634 GB, free: 440 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009482/0.9681, allocations: 190.6 kB / 0.8635 GB, free: 252 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.9683, allocations: 67.42 kB / 0.8636 GB, free: 184 kB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/0.9683, allocations: 4 kB / 0.8636 GB, free: 180 kB / 0.67 GB Notification: Performance of Templates: time 0.362/1.33, allocations: 16.86 MB / 0.8801 GB, free: 219 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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)