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.0008667/0.0008668, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.005429/0.005429, allocations: 176 kB / 16.27 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9834/0.9834, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 8.734 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6267/0.7977, allocations: 243.4 MB / 0.8256 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02953/0.8273, allocations: 21.98 MB / 0.8471 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.8307, allocations: 47.69 kB / 0.8472 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.8351, allocations: 0.7846 MB / 0.8479 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.8416, allocations: 1.385 MB / 0.8493 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006234/0.8479, allocations: 1.781 MB / 0.851 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005765/0.8536, allocations: 3.532 MB / 0.8545 GB, free: 10.72 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.8557, allocations: 1.089 MB / 0.8555 GB, free: 9.598 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.8589, allocations: 1.128 MB / 0.8566 GB, free: 8.465 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.8606, allocations: 0.8596 MB / 0.8575 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.8607, allocations: 32 kB / 0.8575 GB, free: 7.57 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.8649, allocations: 1.862 MB / 0.8593 GB, free: 5.703 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.8653, allocations: 291 kB / 0.8596 GB, free: 5.418 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008652/0.8662, allocations: 0.5651 MB / 0.8601 GB, free: 4.844 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.8701, allocations: 2.258 MB / 0.8623 GB, free: 2.578 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8701, allocations: 0 / 0.8623 GB, free: 2.578 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8701, allocations: 0 / 0.8623 GB, free: 2.578 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.8701, allocations: 0 / 0.8623 GB, free: 2.578 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.001998/0.8722, allocations: 1.236 MB / 0.8636 GB, free: 1.289 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.8722, allocations: 12.03 kB / 0.8636 GB, free: 1.277 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.8733, allocations: 226.4 kB / 0.8638 GB, free: 1.055 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.8745, allocations: 0.8453 MB / 0.8646 GB, free: 172 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3661/1.241, allocations: 184.1 kB / 0.8648 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/1.241, allocations: 91.31 kB / 0.8649 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/1.243, allocations: 0.9319 MB / 0.8658 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.243, allocations: 3.844 kB / 0.8658 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/1.243, allocations: 34.66 kB / 0.8658 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.243, allocations: 25.19 kB / 0.8658 GB, free: 223 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/1.244, allocations: 0.6275 MB / 0.8665 GB, free: 223 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.003851/1.248, allocations: 4.444 MB / 0.8708 GB, free: 220.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/1.248, allocations: 191.2 kB / 0.871 GB, free: 220.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/1.248, allocations: 142.5 kB / 0.8711 GB, free: 220.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007524/1.249, allocations: 1.022 MB / 0.8721 GB, free: 219.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.249, allocations: 42.67 kB / 0.8722 GB, free: 219.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 2.896e-06/1.249, allocations: 0 / 0.8722 GB, free: 219.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.0009582/1.25, allocations: 470 kB / 0.8726 GB, free: 219 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.25, allocations: 54.34 kB / 0.8727 GB, free: 218.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.251, allocations: 1.107 MB / 0.8737 GB, free: 218.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/1.251, allocations: 31.48 kB / 0.8738 GB, free: 218.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/1.252, allocations: 0.5045 MB / 0.8743 GB, free: 218.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/1.252, allocations: 88.25 kB / 0.8743 GB, free: 218.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/1.252, allocations: 39.45 kB / 0.8744 GB, free: 218.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/1.252, allocations: 323.4 kB / 0.8747 GB, free: 218 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/1.252, allocations: 130.5 kB / 0.8748 GB, free: 218 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/1.253, allocations: 383.1 kB / 0.8752 GB, free: 217.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/1.253, allocations: 472.2 kB / 0.8756 GB, free: 217.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.253, allocations: 4.5 kB / 0.8756 GB, free: 217.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007971/1.254, allocations: 0.5384 MB / 0.8762 GB, free: 217 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.254, allocations: 11.42 kB / 0.8762 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.254, allocations: 5.75 kB / 0.8762 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/1.254, allocations: 8.469 kB / 0.8762 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/1.254, allocations: 91.77 kB / 0.8763 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.255, allocations: 19.67 kB / 0.8763 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/1.255, allocations: 125.1 kB / 0.8764 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/1.255, allocations: 29.75 kB / 0.8764 GB, free: 217 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.0003647/1.256, allocations: 285.5 kB / 0.8767 GB, free: 216.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.256, allocations: 103.7 kB / 0.8768 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/1.257, allocations: 432 kB / 0.8772 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.257, allocations: 3.031 kB / 0.8772 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.257, allocations: 3.062 kB / 0.8772 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.257, allocations: 0 / 0.8772 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/1.259, allocations: 1.554 MB / 0.8787 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.259, allocations: 3.312 kB / 0.8787 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/1.259, allocations: 43.95 kB / 0.8788 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.259, allocations: 6.5 kB / 0.8788 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/1.259, allocations: 10.47 kB / 0.8788 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.259, allocations: 10.5 kB / 0.8788 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.259, allocations: 5.969 kB / 0.8788 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/1.259, allocations: 0.578 MB / 0.8794 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/1.26, allocations: 246.3 kB / 0.8796 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.26, allocations: 10.41 kB / 0.8796 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/1.26, allocations: 37.8 kB / 0.8797 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/1.26, allocations: 32.14 kB / 0.8797 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/1.26, allocations: 12.84 kB / 0.8797 GB, free: 215 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008234/1.261, allocations: 0.779 MB / 0.8805 GB, free: 214.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.261, allocations: 3.25 kB / 0.8805 GB, free: 214.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009343/1.262, allocations: 285.7 kB / 0.8807 GB, free: 214.6 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.0006534/1.263, allocations: 332 kB / 0.8811 GB, free: 214.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005031/1.263, allocations: 330.3 kB / 0.8814 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.263, allocations: 0 / 0.8814 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/1.263, allocations: 143.4 kB / 0.8815 GB, free: 214.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.266, allocations: 0.5242 MB / 0.882 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/1.268, allocations: 1.92 MB / 0.8839 GB, free: 213 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/1.269, allocations: 1.065 MB / 0.8849 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006848/1.269, allocations: 200.4 kB / 0.8851 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/1.27, allocations: 77.91 kB / 0.8852 GB, free: 212.2 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/1.27, allocations: 0 / 0.8852 GB, free: 212.2 MB / 0.67 GB Notification: Performance of Templates: time 0.03804/1.308, allocations: 19.46 MB / 0.9042 GB, free: 210.6 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)