Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001624/0.001624, allocations: 210.2 kB / 22.24 MB, free: 5.258 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.801 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.287/1.287, allocations: 203.8 MB / 0.5041 GB, free: 4.617 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [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: 71.83 kB / 0.7186 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6985, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00339/0.7019, allocations: 1.297 MB / 0.8195 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.7031, allocations: 0.525 MB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.7032, allocations: 0.5938 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.7032, allocations: 1.781 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.7032, allocations: 10.02 kB / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.7038, allocations: 142.6 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.7039, allocations: 20.02 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.704, allocations: 2.844 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.704, allocations: 10.19 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.7041, allocations: 8.109 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.7041, allocations: 0 / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.7047, allocations: 272.2 kB / 0.8205 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.7047, allocations: 1.594 kB / 0.8205 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.7047, allocations: 9.547 kB / 0.8205 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.705, allocations: 140.6 kB / 0.8206 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.705, allocations: 0 / 0.8206 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.454e-06/0.705, allocations: 1.031 kB / 0.8206 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.705, allocations: 1.438 kB / 0.8206 GB, free: 27.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004594/0.7055, allocations: 284.1 kB / 0.8209 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.7056, allocations: 11.98 kB / 0.8209 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.7056, allocations: 3 kB / 0.8209 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.7057, allocations: 107 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.7057, allocations: 6.438 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.7057, allocations: 1.344 kB / 0.821 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.7058, allocations: 44.48 kB / 0.8211 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7058, allocations: 1.719 kB / 0.8211 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.7059, allocations: 7.922 kB / 0.8211 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7059, allocations: 1.656 kB / 0.8211 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.7059, allocations: 15.92 kB / 0.8211 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.7062, allocations: 203.2 kB / 0.8213 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.7065, allocations: 45.62 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.7065, allocations: 17.94 kB / 0.8214 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.7065, allocations: 5.094 kB / 0.8214 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.7066, allocations: 41.52 kB / 0.8214 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.7066, allocations: 0.5625 kB / 0.8214 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.7068, allocations: 51.97 kB / 0.8214 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.7068, allocations: 55.95 kB / 0.8215 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.7069, allocations: 100.2 kB / 0.8216 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.7069, allocations: 26.95 kB / 0.8216 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.7069, allocations: 88.64 kB / 0.8217 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.7069, allocations: 23.48 kB / 0.8217 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.707, allocations: 18.52 kB / 0.8217 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.707, allocations: 314.5 kB / 0.822 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.707, allocations: 4.203 kB / 0.822 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.7071, allocations: 25.55 kB / 0.8221 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.7071, allocations: 30.81 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7071, allocations: 0 / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.7072, allocations: 59.72 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.7073, allocations: 7.844 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7073, allocations: 1.609 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7073, allocations: 0.5312 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.7073, allocations: 8.594 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7074, allocations: 1.562 kB / 0.8222 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.7074, allocations: 13.11 kB / 0.8222 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.7074, allocations: 2 kB / 0.8222 GB, free: 25.96 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.24e-05/0.7075, allocations: 113.6 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.7075, allocations: 5 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.7076, allocations: 67.36 kB / 0.8224 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7076, allocations: 1 kB / 0.8224 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7077, allocations: 1.172 kB / 0.8224 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7077, allocations: 0.5312 kB / 0.8224 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.7078, allocations: 111.9 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7078, allocations: 0.7969 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.7078, allocations: 10.5 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7078, allocations: 4.5 kB / 0.8225 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.7078, allocations: 4.531 kB / 0.8225 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7078, allocations: 1.016 kB / 0.8225 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7078, allocations: 0.5312 kB / 0.8225 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.708, allocations: 145 kB / 0.8226 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.708, allocations: 17.97 kB / 0.8227 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.708, allocations: 5.188 kB / 0.8227 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.708, allocations: 5.203 kB / 0.8227 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.7081, allocations: 2.344 kB / 0.8227 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.7081, allocations: 2.109 kB / 0.8227 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.7081, allocations: 78.58 kB / 0.8227 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7081, allocations: 0 / 0.8227 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000261/0.7084, allocations: 23.06 kB / 0.8228 GB, free: 25.41 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001908/0.7086, allocations: 113 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.7087, allocations: 25.48 kB / 0.8229 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.7087, allocations: 4.062 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.7087, allocations: 8.953 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.7089, allocations: 9.094 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.7093, allocations: 129.4 kB / 0.823 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.7093, allocations: 60.14 kB / 0.8231 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.7093, allocations: 3.109 kB / 0.8231 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.7094, allocations: 15.17 kB / 0.8231 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.7094, allocations: 0 / 0.8231 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.00334/0.7127, allocations: 0.5069 MB / 0.8236 GB, free: 25.01 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.748588444665074] Failed to read output from testmodel.py, exit status != 0: 0.7218199092894793 0.7350882129999999 0.02701271599999994 Calling exit ...