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.0007592/0.0007592, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008572/0.0008574, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.315/1.315, allocations: 223.3 MB / 241 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.8994/0.8994, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 9.031 kB / 0.5082 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 82.31 MB / 0.5886 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4964/0.6456, allocations: 243.4 MB / 0.8263 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02811/0.6738, allocations: 21.99 MB / 0.8478 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.6763, allocations: 43.69 kB / 0.8478 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.6793, allocations: 0.7846 MB / 0.8486 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.6842, allocations: 1.388 MB / 0.8499 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/0.6897, allocations: 1.766 MB / 0.8516 GB, free: 14.33 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.6951, allocations: 3.536 MB / 0.8551 GB, free: 10.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.697, allocations: 1.093 MB / 0.8562 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.7003, allocations: 1.128 MB / 0.8573 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.7022, allocations: 0.8596 MB / 0.8581 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.7023, allocations: 36 kB / 0.8581 GB, free: 7.629 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.7065, allocations: 1.862 MB / 0.86 GB, free: 5.762 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004354/0.7069, allocations: 294.9 kB / 0.8602 GB, free: 5.473 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009022/0.7078, allocations: 0.5574 MB / 0.8608 GB, free: 4.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.7104, allocations: 1.691 MB / 0.8624 GB, free: 3.211 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7104, allocations: 0 / 0.8624 GB, free: 3.211 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7104, allocations: 0 / 0.8624 GB, free: 3.211 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7104, allocations: 0 / 0.8624 GB, free: 3.211 MB / 0.67 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.001911/0.7123, allocations: 1.236 MB / 0.8636 GB, free: 1.922 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7124, allocations: 12.03 kB / 0.8637 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7135, allocations: 222.4 kB / 0.8639 GB, free: 1.691 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.7149, allocations: 0.8492 MB / 0.8647 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.7151, allocations: 196.8 kB / 0.8649 GB, free: 0.582 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.7152, allocations: 91.94 kB / 0.865 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.38/1.095, allocations: 0.9286 MB / 0.8659 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/1.095, allocations: 2.156 kB / 0.8659 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/1.095, allocations: 35.62 kB / 0.8659 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/1.095, allocations: 21.97 kB / 0.8659 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.096, allocations: 0.6301 MB / 0.8665 GB, free: 13.33 MB / 0.67 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.003516/1.1, allocations: 4.441 MB / 0.8709 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/1.1, allocations: 185.7 kB / 0.8711 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/1.101, allocations: 147.7 kB / 0.8712 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/1.101, allocations: 1.017 MB / 0.8722 GB, free: 9.523 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/1.101, allocations: 39.81 kB / 0.8722 GB, free: 9.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 2.195e-06/1.101, allocations: 0 / 0.8722 GB, free: 9.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.000892/1.102, allocations: 474.9 kB / 0.8727 GB, free: 9.391 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/1.102, allocations: 55.56 kB / 0.8727 GB, free: 9.328 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.103, allocations: 1.106 MB / 0.8738 GB, free: 9.176 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/1.103, allocations: 36.55 kB / 0.8739 GB, free: 9.141 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.104, allocations: 0.5114 MB / 0.8744 GB, free: 8.953 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/1.104, allocations: 84.16 kB / 0.8744 GB, free: 8.902 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/1.104, allocations: 37.77 kB / 0.8745 GB, free: 8.887 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.169e-05/1.104, allocations: 322.6 kB / 0.8748 GB, free: 8.582 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.104, allocations: 129.2 kB / 0.8749 GB, free: 8.582 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/1.104, allocations: 388.3 kB / 0.8753 GB, free: 8.285 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/1.105, allocations: 470.6 kB / 0.8757 GB, free: 8.051 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.105, allocations: 2.562 kB / 0.8757 GB, free: 8.051 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007326/1.106, allocations: 0.5368 MB / 0.8762 GB, free: 7.965 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.106, allocations: 8.438 kB / 0.8763 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.106, allocations: 8.781 kB / 0.8763 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.106, allocations: 8.156 kB / 0.8763 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/1.106, allocations: 88.45 kB / 0.8764 GB, free: 7.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.106, allocations: 19.47 kB / 0.8764 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/1.107, allocations: 127.9 kB / 0.8765 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/1.107, allocations: 29.14 kB / 0.8765 GB, free: 7.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002899/1.107, allocations: 288.3 kB / 0.8768 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.107, allocations: 104.1 kB / 0.8769 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005973/1.108, allocations: 415.8 kB / 0.8773 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.108, allocations: 6.734 kB / 0.8773 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.108, allocations: 2.344 kB / 0.8773 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.108, allocations: 0 / 0.8773 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.11, allocations: 1.553 MB / 0.8788 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.11, allocations: 4.875 kB / 0.8788 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/1.11, allocations: 45.59 kB / 0.8789 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.11, allocations: 5.594 kB / 0.8789 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/1.11, allocations: 15.77 kB / 0.8789 GB, free: 7.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.11, allocations: 8.531 kB / 0.8789 GB, free: 7.188 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.11, allocations: 4.531 kB / 0.8789 GB, free: 7.188 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/1.11, allocations: 0.5717 MB / 0.8795 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.111, allocations: 250.2 kB / 0.8797 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.111, allocations: 14.02 kB / 0.8797 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/1.111, allocations: 28.98 kB / 0.8797 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/1.111, allocations: 27.19 kB / 0.8798 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/1.111, allocations: 20.62 kB / 0.8798 GB, free: 6.684 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008088/1.112, allocations: 0.7807 MB / 0.8805 GB, free: 6.574 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.01e-07/1.112, allocations: 0 / 0.8805 GB, free: 6.574 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007741/1.113, allocations: 290 kB / 0.8808 GB, free: 6.547 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 (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.0005349/1.113, allocations: 326.9 kB / 0.8811 GB, free: 6.434 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005147/1.114, allocations: 338.2 kB / 0.8815 GB, free: 6.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.114, allocations: 1.375 kB / 0.8815 GB, free: 6.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/1.114, allocations: 145.1 kB / 0.8816 GB, free: 6.426 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/1.117, allocations: 0.5193 MB / 0.8821 GB, free: 6.391 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/1.119, allocations: 1.969 MB / 0.884 GB, free: 5.262 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.119, allocations: 1.059 MB / 0.8851 GB, free: 4.547 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.12, allocations: 87.61 kB / 0.8851 GB, free: 4.535 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/1.12, allocations: 2.062 kB / 0.8851 GB, free: 4.535 MB / 0.67 GB Notification: Performance of Templates: time 0.02821/1.148, allocations: 16.93 MB / 0.9017 GB, free: 2.98 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)