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.0007669/0.0007669, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007974/0.0007974, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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 0.8443/0.8443, allocations: 230.6 MB / 256.8 MB, free: 3.434 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7542/0.7542, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [Timeout remaining time 179] 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.0008202/0.0008202, allocations: 63.91 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.456, allocations: 102 MB / 0.8191 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001645/0.4576, allocations: 1.272 MB / 0.8203 GB, free: 24.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.4583, allocations: 0.5868 MB / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.4583, allocations: 0 / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.4583, allocations: 0 / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.4584, allocations: 1.609 kB / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.4588, allocations: 140.5 kB / 0.821 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.93e-05/0.4589, allocations: 11.16 kB / 0.821 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.4589, allocations: 10.66 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.4589, allocations: 6.266 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.459, allocations: 3.453 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.459, allocations: 1.75 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.4594, allocations: 338.4 kB / 0.8214 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.4594, allocations: 11.2 kB / 0.8214 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.4594, allocations: 6.375 kB / 0.8214 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.4597, allocations: 137 kB / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4597, allocations: 0 / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4597, allocations: 0 / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4597, allocations: 1.5 kB / 0.8215 GB, free: 23.65 MB / 0.6355 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.0002775/0.46, allocations: 279.4 kB / 0.8218 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.46, allocations: 12.53 kB / 0.8218 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.46, allocations: 2.953 kB / 0.8218 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.943e-05/0.4601, allocations: 108.4 kB / 0.8219 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4601, allocations: 2.906 kB / 0.8219 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.4601, allocations: 1.438 kB / 0.8219 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.4602, allocations: 30.5 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4602, allocations: 2 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4602, allocations: 5.344 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4602, allocations: 3.938 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.4602, allocations: 4.547 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.541e-05/0.4603, allocations: 124.1 kB / 0.8221 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.4604, allocations: 30.64 kB / 0.8221 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.4604, allocations: 7.531 kB / 0.8221 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4604, allocations: 1.25 kB / 0.8221 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.4604, allocations: 35.38 kB / 0.8222 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.4604, allocations: 0 / 0.8222 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001077/0.4605, allocations: 52.14 kB / 0.8222 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.4605, allocations: 52.98 kB / 0.8223 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.635e-05/0.4606, allocations: 100.2 kB / 0.8224 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-06/0.4606, allocations: 27.22 kB / 0.8224 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.4606, allocations: 80.14 kB / 0.8225 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.4606, allocations: 9.828 kB / 0.8225 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.4606, allocations: 12.77 kB / 0.8225 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.796e-05/0.4607, allocations: 313 kB / 0.8228 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.4607, allocations: 6.219 kB / 0.8228 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.4607, allocations: 10.27 kB / 0.8228 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.4607, allocations: 14.61 kB / 0.8228 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4607, allocations: 0 / 0.8228 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.554e-05/0.4607, allocations: 43.83 kB / 0.8229 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.4607, allocations: 6.297 kB / 0.8229 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4608, allocations: 7.922 kB / 0.8229 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4608, allocations: 0 / 0.8229 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4609, allocations: 16.45 kB / 0.8229 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001665/0.4611, allocations: 0.5871 MB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.4611, allocations: 0.7031 kB / 0.8235 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4611, allocations: 1.969 kB / 0.8235 GB, free: 21.64 MB / 0.6355 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 3.49e-05/0.4611, allocations: 112.8 kB / 0.8236 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-06/0.4611, allocations: 0 / 0.8236 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.4612, allocations: 48.88 kB / 0.8236 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.4612, allocations: 1.281 kB / 0.8236 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4612, allocations: 4.125 kB / 0.8236 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4612, allocations: 1.172 kB / 0.8236 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.102e-05/0.4612, allocations: 130.9 kB / 0.8237 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4612, allocations: 0 / 0.8237 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.4613, allocations: 9.469 kB / 0.8238 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4613, allocations: 1.422 kB / 0.8238 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4613, allocations: 0.9062 kB / 0.8238 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001082/0.4614, allocations: 0.5876 MB / 0.8243 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4614, allocations: 8.031 kB / 0.8243 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.893e-05/0.4614, allocations: 62.09 kB / 0.8244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.4614, allocations: 1.125 kB / 0.8244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.4615, allocations: 0.5156 kB / 0.8244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.4615, allocations: 5.984 kB / 0.8244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.4615, allocations: 5.844 kB / 0.8244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.4615, allocations: 0 / 0.8244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.4615, allocations: 85.95 kB / 0.8245 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4615, allocations: 0 / 0.8245 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001219/0.4616, allocations: 11.69 kB / 0.8245 GB, free: 20.55 MB / 0.6355 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.0001101/0.4617, allocations: 107.8 kB / 0.8246 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.4618, allocations: 20.05 kB / 0.8246 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4618, allocations: 3.938 kB / 0.8246 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.47e-05/0.4619, allocations: 18.08 kB / 0.8246 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.462, allocations: 1.469 kB / 0.8246 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.4622, allocations: 139.3 kB / 0.8248 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.4623, allocations: 0.6744 MB / 0.8254 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.4623, allocations: 8.188 kB / 0.8254 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.4623, allocations: 0 / 0.8254 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.002083/0.4644, allocations: 0.711 MB / 0.8261 GB, free: 19.54 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.814275887096301] Failed to read output from testmodel.py, exit status != 0: 0.4698935500346124 0.47777034399999996 0.016462169000000002 Calling exit ...