Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3074/0.3074, allocations: 54.42 MB / 61.89 MB, free: 13.72 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001134/0.001134, allocations: 183.5 kB / 75.61 MB, free: 0.7578 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.751/1.751, allocations: 194.3 MB / 283.5 MB, free: 14.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 108.9 kB / 341.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.09e-05, allocations: 4 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4048, allocations: 57.66 MB / 463.2 MB, free: 51.72 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.529, allocations: 84.87 MB / 0.5352 GB, free: 288 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.5292, allocations: 81.34 kB / 0.5353 GB, free: 208 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003225/0.5325, allocations: 1.015 MB / 0.5362 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5325, allocations: 2.625 kB / 0.5363 GB, free: 15.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.5325, allocations: 0 / 0.5363 GB, free: 15.21 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002638/0.5328, allocations: 323.1 kB / 0.5366 GB, free: 14.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5328, allocations: 8.031 kB / 0.5366 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.5329, allocations: 5.656 kB / 0.5366 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.533, allocations: 162 kB / 0.5367 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.533, allocations: 4 kB / 0.5367 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5331, allocations: 0 / 0.5367 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.466e-05/0.5331, allocations: 4 kB / 0.5367 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.898e-05/0.5332, allocations: 38.14 kB / 0.5368 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.5332, allocations: 2.5 kB / 0.5368 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5332, allocations: 1.688 kB / 0.5368 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5332, allocations: 4.562 kB / 0.5368 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.5334, allocations: 126.2 kB / 0.5369 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.5334, allocations: 28.52 kB / 0.5369 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.5335, allocations: 8.922 kB / 0.5369 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.5337, allocations: 111.2 kB / 0.537 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5338, allocations: 30.56 kB / 0.5371 GB, free: 14.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5338, allocations: 0 / 0.5371 GB, free: 14.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004394/0.5342, allocations: 86.86 kB / 0.5372 GB, free: 14.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.5343, allocations: 53.16 kB / 0.5372 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.5344, allocations: 90.41 kB / 0.5373 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.5344, allocations: 29.48 kB / 0.5373 GB, free: 13.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.5344, allocations: 80.14 kB / 0.5374 GB, free: 13.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5345, allocations: 11.83 kB / 0.5374 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.5345, allocations: 0 / 0.5374 GB, free: 13.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5346, allocations: 318.8 kB / 0.5377 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.5346, allocations: 0 / 0.5377 GB, free: 13.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.5346, allocations: 4 kB / 0.5377 GB, free: 13.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.5347, allocations: 8 kB / 0.5377 GB, free: 13.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5347, allocations: 224 / 0.5377 GB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.61e-05/0.5347, allocations: 41.69 kB / 0.5378 GB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5348, allocations: 8 kB / 0.5378 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5348, allocations: 3 kB / 0.5378 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5348, allocations: 0 / 0.5378 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.5365, allocations: 255.8 kB / 0.538 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.5384, allocations: 1.393 MB / 0.5394 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.5385, allocations: 15.97 kB / 0.5394 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.5385, allocations: 1.5 kB / 0.5394 GB, free: 11.7 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.5386, allocations: 113 kB / 0.5395 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.5387, allocations: 7.906 kB / 0.5395 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.5387, allocations: 3.75 kB / 0.5395 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5387, allocations: 3.984 kB / 0.5395 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.5387, allocations: 0 / 0.5395 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.5387, allocations: 0 / 0.5395 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.629e-05/0.5388, allocations: 134.2 kB / 0.5396 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5388, allocations: 0 / 0.5396 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.5404, allocations: 271.7 kB / 0.5399 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5404, allocations: 0 / 0.5399 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5405, allocations: 2.75 kB / 0.5399 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.5423, allocations: 1.387 MB / 0.5413 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5423, allocations: 3.984 kB / 0.5413 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.869e-05/0.5424, allocations: 61.12 kB / 0.5413 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.5424, allocations: 86.38 kB / 0.5414 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.5425, allocations: 9.516 kB / 0.5414 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.5425, allocations: 10.56 kB / 0.5414 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.5426, allocations: 4 kB / 0.5414 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.5426, allocations: 0 / 0.5414 GB, free: 9.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.5426, allocations: 79.27 kB / 0.5415 GB, free: 9.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5426, allocations: 0 / 0.5415 GB, free: 9.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.5428, allocations: 8 kB / 0.5415 GB, free: 9.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.543, allocations: 99.34 kB / 0.5416 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.5445, allocations: 255.7 kB / 0.5419 GB, free: 8.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5446, allocations: 0 / 0.5419 GB, free: 8.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.547, allocations: 367.7 kB / 0.5422 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.5471, allocations: 7.953 kB / 0.5422 GB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.5489, allocations: 374.1 kB / 0.5426 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5492, allocations: 0.6786 MB / 0.5432 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.129e-05/0.5492, allocations: 0 / 0.5432 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.5492, allocations: 11.44 kB / 0.5432 GB, free: 7.527 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5492, allocations: 4 kB / 0.5432 GB, free: 7.523 MB / 394.7 MB Notification: Performance of Templates: time 0.002291/0.5515, allocations: 437.3 kB / 0.5437 GB, free: 7.133 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)