Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007185/0.007185, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.3 MB / 148.1 MB, free: 264 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 403.2 MB, free: 6.781 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 87.28 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 0.5641 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3635, allocations: 81.58 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.4932, allocations: 111.5 MB / 0.7527 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4935, allocations: 75.95 kB / 0.7527 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006978/0.5005, allocations: 2.315 MB / 0.755 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5005, allocations: 0 / 0.755 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5005, allocations: 0 / 0.755 GB, free: 6.027 MB / 0.5261 GB 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.0003998/0.501, allocations: 337.8 kB / 0.7553 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.501, allocations: 12.02 kB / 0.7553 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.5011, allocations: 7.906 kB / 0.7553 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.5012, allocations: 167 kB / 0.7555 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5012, allocations: 0 / 0.7555 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5012, allocations: 4 kB / 0.7555 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.5014, allocations: 33.64 kB / 0.7555 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5014, allocations: 0 / 0.7555 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.5014, allocations: 0 / 0.7555 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5014, allocations: 0 / 0.7555 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.5014, allocations: 7.984 kB / 0.7555 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.5017, allocations: 153.6 kB / 0.7557 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.5017, allocations: 26.61 kB / 0.7557 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5018, allocations: 3.984 kB / 0.7557 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.5018, allocations: 38.56 kB / 0.7558 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5018, allocations: 0 / 0.7558 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.502, allocations: 41.64 kB / 0.7558 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.502, allocations: 51.41 kB / 0.7558 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.5021, allocations: 89.12 kB / 0.7559 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5021, allocations: 29.83 kB / 0.756 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.5022, allocations: 84.12 kB / 0.756 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.5022, allocations: 3.906 kB / 0.756 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.5022, allocations: 0 / 0.756 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5024, allocations: 318.8 kB / 0.7563 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.5024, allocations: 7.938 kB / 0.7564 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.5024, allocations: 0 / 0.7564 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/0.5025, allocations: 4 kB / 0.7564 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5025, allocations: 4.062 kB / 0.7564 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.326e-05/0.5026, allocations: 45.62 kB / 0.7564 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5026, allocations: 4 kB / 0.7564 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5026, allocations: 4 kB / 0.7564 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5026, allocations: 0 / 0.7564 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.5028, allocations: 8 kB / 0.7564 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004243/0.5032, allocations: 0.586 MB / 0.757 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.5033, allocations: 8.078 kB / 0.757 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.5033, allocations: 0 / 0.757 GB, free: 3.746 MB / 0.5261 GB 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 () * Number of clocked 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.0001081/0.5034, allocations: 113.8 kB / 0.7571 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.5034, allocations: 0 / 0.7571 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.5035, allocations: 44.81 kB / 0.7572 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5035, allocations: 0 / 0.7572 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5036, allocations: 0 / 0.7572 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5036, allocations: 3.984 kB / 0.7572 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.5037, allocations: 165.6 kB / 0.7573 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5037, allocations: 0 / 0.7573 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.5038, allocations: 8 kB / 0.7573 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5038, allocations: 0 / 0.7573 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.5038, allocations: 0 / 0.7573 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003055/0.5041, allocations: 0.5898 MB / 0.7579 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5041, allocations: 4.031 kB / 0.7579 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.767e-05/0.5042, allocations: 61.23 kB / 0.758 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.5043, allocations: 77.11 kB / 0.758 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.5043, allocations: 3.984 kB / 0.758 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.5043, allocations: 4 kB / 0.758 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.5043, allocations: 7.953 kB / 0.7581 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.5043, allocations: 0 / 0.7581 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.5044, allocations: 79.31 kB / 0.7581 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5044, allocations: 3.938 kB / 0.7581 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002208/0.5046, allocations: 12 kB / 0.7581 GB, free: 2.457 MB / 0.5261 GB 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 () * Number of clocked 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.0001665/0.5048, allocations: 123 kB / 0.7583 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.5049, allocations: 19.98 kB / 0.7583 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5049, allocations: 0 / 0.7583 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.505, allocations: 8 kB / 0.7583 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.508e-05/0.5051, allocations: 8.203 kB / 0.7583 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.5055, allocations: 99.23 kB / 0.7584 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.5058, allocations: 0.677 MB / 0.759 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.5059, allocations: 3.938 kB / 0.7591 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.5059, allocations: 11.44 kB / 0.7591 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.5059, allocations: 0 / 0.7591 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of Templates: time 0.002947/0.5089, allocations: 409.3 kB / 0.7595 GB, free: 1.047 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)