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.0007974/0.0007974, 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.0008086/0.0008086, allocations: 203.2 kB / 23 MB, free: 3.113 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.8462/0.8462, allocations: 230.6 MB / 256.8 MB, free: 3.484 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.7246/0.7246, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 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.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.001036/0.001036, allocations: 71.89 kB / 0.7195 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4479, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002009/0.4499, allocations: 1.306 MB / 0.8204 GB, free: 24.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000696/0.4506, allocations: 0.587 MB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.4506, allocations: 0 / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.4506, allocations: 8.391 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.4507, allocations: 5.984 kB / 0.8209 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.4511, allocations: 147.1 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.4512, allocations: 21.03 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.4512, allocations: 5.781 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.4512, allocations: 5 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.4513, allocations: 10.3 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.4513, allocations: 1.688 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.4518, allocations: 345.2 kB / 0.8215 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.4518, allocations: 5.25 kB / 0.8215 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.4518, allocations: 8.938 kB / 0.8215 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.452, allocations: 147.8 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.452, allocations: 0.5625 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.452, allocations: 1.438 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.452, allocations: 1.031 kB / 0.8216 GB, free: 23.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000327/0.4524, allocations: 289.2 kB / 0.8219 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4524, allocations: 10.72 kB / 0.8219 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.4524, allocations: 4.5 kB / 0.8219 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.79e-05/0.4525, allocations: 112.1 kB / 0.822 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4525, allocations: 3.156 kB / 0.822 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4525, allocations: 2.938 kB / 0.822 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.4526, allocations: 40.38 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4526, allocations: 5.828 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4526, allocations: 3.938 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4526, allocations: 0.6562 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.4527, allocations: 21.66 kB / 0.8221 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.4529, allocations: 228.1 kB / 0.8223 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.4531, allocations: 46.12 kB / 0.8223 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.4531, allocations: 18.75 kB / 0.8224 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4531, allocations: 0.7031 kB / 0.8224 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.4531, allocations: 33.62 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.4531, allocations: 3.531 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001424/0.4533, allocations: 59.23 kB / 0.8225 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.4533, allocations: 52.44 kB / 0.8225 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.4533, allocations: 104.1 kB / 0.8226 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-06/0.4533, allocations: 25.7 kB / 0.8226 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.4534, allocations: 86 kB / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.418e-06/0.4534, allocations: 15.86 kB / 0.8227 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.4534, allocations: 21.94 kB / 0.8228 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.63e-05/0.4534, allocations: 316.3 kB / 0.8231 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.4534, allocations: 5.75 kB / 0.8231 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.4535, allocations: 21.08 kB / 0.8231 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.4535, allocations: 34.22 kB / 0.8231 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4535, allocations: 0 / 0.8231 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.969e-05/0.4536, allocations: 60.59 kB / 0.8232 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4536, allocations: 5.75 kB / 0.8232 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4536, allocations: 1.344 kB / 0.8232 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4536, allocations: 0.625 kB / 0.8232 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.4536, allocations: 12.27 kB / 0.8232 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4537, allocations: 1.031 kB / 0.8232 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.4537, allocations: 5.828 kB / 0.8232 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4537, allocations: 1.844 kB / 0.8232 GB, free: 22.12 MB / 0.6355 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 4.257e-05/0.4537, allocations: 120 kB / 0.8233 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.4537, allocations: 2.281 kB / 0.8233 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.4538, allocations: 63.12 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4538, allocations: 0 / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4538, allocations: 1.188 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4539, allocations: 8.859 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.4539, allocations: 134.8 kB / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4539, allocations: 0 / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.454, allocations: 10.97 kB / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.454, allocations: 0 / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.454, allocations: 0.5938 kB / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.454, allocations: 0.6875 kB / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.454, allocations: 1.688 kB / 0.8235 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.101e-05/0.454, allocations: 150.9 kB / 0.8237 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.4541, allocations: 2.172 kB / 0.8237 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.4541, allocations: 8.938 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.4541, allocations: 5.453 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.4541, allocations: 2.609 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.4541, allocations: 5.156 kB / 0.8237 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.832e-05/0.4541, allocations: 79.05 kB / 0.8238 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4541, allocations: 0 / 0.8238 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001778/0.4543, allocations: 22.36 kB / 0.8238 GB, free: 21.54 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 (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.0001374/0.4544, allocations: 124.2 kB / 0.8239 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.4545, allocations: 20.83 kB / 0.8239 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4545, allocations: 0.5312 kB / 0.8239 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.4545, allocations: 13.52 kB / 0.8239 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.4547, allocations: 9.641 kB / 0.8239 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.455, allocations: 151.7 kB / 0.8241 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.793e-05/0.455, allocations: 0.6802 MB / 0.8248 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.455, allocations: 9.875 kB / 0.8248 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of SimCode: time 4.4e-07/0.455, allocations: 0 / 0.8248 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.00195/0.457, allocations: 0.6946 MB / 0.8254 GB, free: 20.51 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.595539768924937] Failed to read output from testmodel.py, exit status != 0: 0.463042272021994 0.47104013200000006 0.017228209 Calling exit ...