Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 218.4 kB / 22.24 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.282/1.282, allocations: 203.8 MB / 0.5041 GB, free: 4.621 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.91 kB / 0.7186 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6488, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002734/0.6515, allocations: 1.266 MB / 0.8195 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.6525, allocations: 0.5157 MB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.6525, allocations: 3.938 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.6526, allocations: 1.578 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.6526, allocations: 0.875 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.6531, allocations: 143.2 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.134e-05/0.6532, allocations: 13.97 kB / 0.8202 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.6533, allocations: 1.797 kB / 0.8202 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.6533, allocations: 7.906 kB / 0.8202 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.6533, allocations: 2.281 kB / 0.8202 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.6533, allocations: 3.469 kB / 0.8202 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.6538, allocations: 266.9 kB / 0.8204 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.6539, allocations: 4.828 kB / 0.8204 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.6539, allocations: 7.297 kB / 0.8204 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.6542, allocations: 131.6 kB / 0.8206 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6542, allocations: 0.7812 kB / 0.8206 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6542, allocations: 1.188 kB / 0.8206 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.6542, allocations: 1.281 kB / 0.8206 GB, free: 27.54 MB / 0.6387 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.0003814/0.6546, allocations: 277.8 kB / 0.8208 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6546, allocations: 11.31 kB / 0.8208 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.6547, allocations: 2.344 kB / 0.8208 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.6548, allocations: 109.6 kB / 0.8209 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6548, allocations: 2.562 kB / 0.8209 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.6548, allocations: 1.656 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.6549, allocations: 35.36 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6549, allocations: 192 / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6549, allocations: 6.406 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.6549, allocations: 0.7031 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.6549, allocations: 7.375 kB / 0.821 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.6551, allocations: 101.7 kB / 0.8211 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.6551, allocations: 21.16 kB / 0.8211 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.6551, allocations: 8.719 kB / 0.8211 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.6552, allocations: 2.172 kB / 0.8211 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.6552, allocations: 36.81 kB / 0.8212 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.6552, allocations: 0 / 0.8212 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.6554, allocations: 44.94 kB / 0.8212 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.6554, allocations: 53.5 kB / 0.8213 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.6554, allocations: 98.48 kB / 0.8213 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.6554, allocations: 26.83 kB / 0.8214 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.6555, allocations: 81.47 kB / 0.8215 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.6555, allocations: 10.62 kB / 0.8215 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.6555, allocations: 12 kB / 0.8215 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.6556, allocations: 319.8 kB / 0.8218 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.6556, allocations: 5.984 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.6556, allocations: 2.828 kB / 0.8218 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.6556, allocations: 14.5 kB / 0.8218 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6556, allocations: 6.75 kB / 0.8218 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.825e-05/0.6557, allocations: 39.03 kB / 0.8218 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6557, allocations: 5.469 kB / 0.8219 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.6557, allocations: 4.047 kB / 0.8219 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6557, allocations: 4.656 kB / 0.8219 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.6559, allocations: 10.66 kB / 0.8219 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002616/0.6562, allocations: 0.5841 MB / 0.8224 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.6562, allocations: 0 / 0.8224 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.6562, allocations: 5.125 kB / 0.8224 GB, free: 25.57 MB / 0.6387 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.6562, allocations: 117.2 kB / 0.8226 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.6562, allocations: 6.547 kB / 0.8226 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.6564, allocations: 53.42 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6564, allocations: 0.5938 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6564, allocations: 1.047 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.6564, allocations: 0.9062 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.952e-05/0.6564, allocations: 101.4 kB / 0.8227 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6564, allocations: 5.969 kB / 0.8227 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.6565, allocations: 12.98 kB / 0.8227 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6565, allocations: 1.359 kB / 0.8227 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.6565, allocations: 1 kB / 0.8227 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001849/0.6567, allocations: 0.5838 MB / 0.8233 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6567, allocations: 0.9375 kB / 0.8233 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.857e-05/0.6568, allocations: 74.22 kB / 0.8234 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.6568, allocations: 4.656 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.6568, allocations: 1.984 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.6568, allocations: 0.625 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.6568, allocations: 5.766 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6568, allocations: 1.109 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.127e-05/0.6569, allocations: 77.92 kB / 0.8235 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6569, allocations: 4.438 kB / 0.8235 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002086/0.6571, allocations: 15.16 kB / 0.8235 GB, free: 24.51 MB / 0.6387 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.6572, allocations: 103.6 kB / 0.8236 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.6574, allocations: 24.52 kB / 0.8236 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6574, allocations: 4.688 kB / 0.8236 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.6575, allocations: 13.05 kB / 0.8236 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.6577, allocations: 5.375 kB / 0.8236 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.6581, allocations: 114.6 kB / 0.8237 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.6581, allocations: 57.31 kB / 0.8238 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.548e-05/0.6581, allocations: 1.203 kB / 0.8238 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.6581, allocations: 12.62 kB / 0.8238 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6581, allocations: 0 / 0.8238 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.003283/0.6614, allocations: 472.9 kB / 0.8243 GB, free: 24.16 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.777202947065234] Failed to read output from testmodel.py, exit status != 0: 0.6699636038392782 0.683043155 0.025954592000000002 Calling exit ...