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.001849/0.001849, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 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.001988/0.001988, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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-535:34: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-535:42: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.364/1.364, allocations: 154.8 MB / 414.3 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.351e-05, allocations: 2.875 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002511/0.002534, allocations: 1.309 MB / 0.5211 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003676, allocations: 0.5587 MB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.003697, allocations: 0.625 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.003711, allocations: 1.812 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.003776, allocations: 11.86 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.004286, allocations: 140.9 kB / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.004339, allocations: 19.86 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.935e-05/0.004368, allocations: 0 / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.004415, allocations: 19.97 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.004463, allocations: 4 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.004477, allocations: 5.219 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.004974, allocations: 271.5 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.00499, allocations: 3.938 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.00501, allocations: 4.625 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.00531, allocations: 163.3 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.005315, allocations: 4.672 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005315, allocations: 1.344 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.005319, allocations: 0 / 0.5223 GB, free: 15.78 MB / 0.4948 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.0005145/0.005834, allocations: 380 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.00587, allocations: 8.031 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.00591, allocations: 5.938 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.006029, allocations: 108.6 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.006041, allocations: 7.906 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.006051, allocations: 4.312 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006159, allocations: 42.25 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.006168, allocations: 192 / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.006175, allocations: 384 / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.006179, allocations: 384 / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.006237, allocations: 23.92 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.006604, allocations: 251.8 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.006831, allocations: 55.67 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.006874, allocations: 19.69 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.006893, allocations: 4.547 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.006922, allocations: 33.95 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.006923, allocations: 0.9688 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.007118, allocations: 61.62 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.007161, allocations: 51.41 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.007284, allocations: 167.3 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.007303, allocations: 29.7 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.007389, allocations: 130.8 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.007403, allocations: 11.84 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.007455, allocations: 36.02 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002528/0.007708, allocations: 496.1 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.007731, allocations: 8.562 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.007773, allocations: 29.33 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/0.007836, allocations: 35.38 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007838, allocations: 0 / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.007946, allocations: 57.75 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007957, allocations: 5.875 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.007966, allocations: 7.938 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.00798, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.008029, allocations: 8 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.008037, allocations: 3.984 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.008066, allocations: 10.75 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.00807, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 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 0.0001112/0.008182, allocations: 160.5 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.008209, allocations: 3.953 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.008356, allocations: 61.31 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008357, allocations: 0 / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.008364, allocations: 5.781 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.008369, allocations: 3.984 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.008531, allocations: 112.6 kB / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.008532, allocations: 0 / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.008568, allocations: 4 kB / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.008572, allocations: 4.938 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.008578, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.008582, allocations: 4.719 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.008587, allocations: 3.938 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.008767, allocations: 204.4 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-06/0.008773, allocations: 0.6562 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.008783, allocations: 0.5625 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.008834, allocations: 3.938 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.008855, allocations: 7 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.008858, allocations: 48 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.008934, allocations: 135.2 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008934, allocations: 0 / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002379/0.009172, allocations: 19.88 kB / 0.525 GB, free: 12.73 MB / 0.4948 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.0001855/0.009357, allocations: 119.1 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.009474, allocations: 38.73 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009475, allocations: 0 / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.009505, allocations: 19.69 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.009706, allocations: 4 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.01001, allocations: 134.1 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.303e-05/0.01008, allocations: 59.36 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.01011, allocations: 9.781 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.01013, allocations: 12.5 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01013, allocations: 3.062 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.003168/0.0133, allocations: 0.5182 MB / 0.5259 GB, free: 11.8 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.054322561947629]