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.000945/0.000945, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009763/0.0009763, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.9917/0.9917, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.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-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 0.7891/0.7891, allocations: 154.9 MB / 414.8 MB, free: 412 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 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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.13e-05, allocations: 7.891 kB / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001638/0.001659, allocations: 1.331 MB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.002507, allocations: 0.5634 MB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.002536, allocations: 1.375 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002562, allocations: 3.938 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.002613, allocations: 7.969 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.003103, allocations: 149.2 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.003167, allocations: 19.88 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.003206, allocations: 3.984 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.003244, allocations: 12.67 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.003295, allocations: 7.984 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.00331, allocations: 1.312 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.003621, allocations: 267.4 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.003638, allocations: 3.984 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.003659, allocations: 8.75 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.003873, allocations: 155.5 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003875, allocations: 0.5625 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003876, allocations: 0 / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.003882, allocations: 4.844 kB / 0.5232 GB, free: 15.32 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.000406/0.004288, allocations: 387.9 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.004328, allocations: 9 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.00437, allocations: 5.281 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/0.004461, allocations: 119.2 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004472, allocations: 384 / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.004482, allocations: 4.375 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.004569, allocations: 38.25 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004577, allocations: 192 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004587, allocations: 4.375 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.004595, allocations: 384 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.517e-05/0.00463, allocations: 21.36 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.004918, allocations: 247.8 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.0051, allocations: 47.17 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.00513, allocations: 24.2 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.005148, allocations: 5.016 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.00517, allocations: 37.39 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005171, allocations: 1.188 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0004547/0.005626, allocations: 57.56 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.005656, allocations: 51.41 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.005725, allocations: 162.5 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.005735, allocations: 25.7 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.005782, allocations: 139.8 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.005792, allocations: 7.906 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.00582, allocations: 23.38 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005933, allocations: 0.49 MB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.005946, allocations: 4 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.005972, allocations: 23.38 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.006011, allocations: 36.52 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006013, allocations: 4 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.736e-05/0.006081, allocations: 53.62 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.006093, allocations: 4.688 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.0061, allocations: 7.938 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006112, allocations: 1.375 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.006148, allocations: 16 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006154, allocations: 3.938 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.006168, allocations: 0.8125 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006175, allocations: 4 kB / 0.5251 GB, free: 13.07 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 6.077e-05/0.006235, allocations: 155.3 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.006252, allocations: 11.94 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006356, allocations: 61.25 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006359, allocations: 0 / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006362, allocations: 0 / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006366, allocations: 4 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.137e-05/0.006457, allocations: 123.4 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006459, allocations: 0 / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.006475, allocations: 4 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006477, allocations: 0 / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.006483, allocations: 4 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006485, allocations: 3.938 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006485, allocations: 0 / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.956e-05/0.006575, allocations: 196.4 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.006582, allocations: 5.359 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.006593, allocations: 7.984 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.006618, allocations: 3.938 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.006634, allocations: 3.984 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006637, allocations: 4.547 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.006669, allocations: 126.5 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006669, allocations: 0 / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001657/0.006835, allocations: 23.94 kB / 0.5258 GB, free: 12.29 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.0001413/0.006976, allocations: 123.1 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.007076, allocations: 27.67 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.007078, allocations: 0 / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.007092, allocations: 19.62 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.007247, allocations: 8.188 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.007493, allocations: 118.3 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.00753, allocations: 55.34 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.007557, allocations: 8.922 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.007577, allocations: 13.59 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.007578, allocations: 3.938 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.002118/0.009696, allocations: 0.559 MB / 0.5268 GB, free: 11.34 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: 3.8661182052455842]