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.0009213/0.0009213, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001041/0.001041, allocations: 170 kB / 23.27 MB, free: 1.223 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.01/1.01, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.8306/0.8306, allocations: 154.9 MB / 415.1 MB, free: 244 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.843e-06/1.843e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.833e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001598/0.001617, allocations: 1.332 MB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.002357, allocations: 0.5529 MB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.00239, allocations: 1.031 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.002411, allocations: 0 / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.002458, allocations: 7.938 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.00281, allocations: 141.1 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.002858, allocations: 31.84 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.00289, allocations: 1.656 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.002924, allocations: 7.984 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.002977, allocations: 7.984 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.002992, allocations: 4 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.003266, allocations: 268.6 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.003279, allocations: 3.984 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.003294, allocations: 7.984 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.003473, allocations: 155.5 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003475, allocations: 0.7812 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003475, allocations: 0 / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.00348, allocations: 5.188 kB / 0.5236 GB, free: 15.04 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.000305/0.003785, allocations: 383.9 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.003822, allocations: 12.73 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.003846, allocations: 9.281 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.826e-05/0.003914, allocations: 113.1 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.003923, allocations: 384 / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.00393, allocations: 5.438 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.436e-05/0.003994, allocations: 38.25 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004001, allocations: 192 / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-06/0.004006, allocations: 1.062 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.004011, allocations: 5.125 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.004029, allocations: 7.938 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.00424, allocations: 239.7 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.004365, allocations: 51.03 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.004382, allocations: 19.67 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.004403, allocations: 0 / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.004426, allocations: 45.44 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.004427, allocations: 0 / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001023/0.004529, allocations: 49.62 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.004553, allocations: 60.19 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.004612, allocations: 149.9 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004622, allocations: 33.7 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.004667, allocations: 139.3 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-06/0.004676, allocations: 12.83 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.004701, allocations: 23.38 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.004808, allocations: 0.4884 MB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.004817, allocations: 5.594 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.004837, allocations: 27.36 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.004867, allocations: 27.38 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004869, allocations: 0.9688 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.323e-05/0.004922, allocations: 49.62 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.004932, allocations: 10 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.004935, allocations: 0 / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.004946, allocations: 3.938 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.144e-05/0.004977, allocations: 11.98 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.004987, allocations: 3.938 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.005001, allocations: 8.75 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.005004, allocations: 3.938 kB / 0.5255 GB, free: 12.84 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 5.593e-05/0.00506, allocations: 153.3 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.005073, allocations: 7.953 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.518e-05/0.005158, allocations: 54.66 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.005161, allocations: 7.922 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.005163, allocations: 5.438 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005165, allocations: 0 / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.208e-05/0.005248, allocations: 101.2 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005248, allocations: 0 / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.005264, allocations: 5.562 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005265, allocations: 3.938 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.005272, allocations: 8 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.005272, allocations: 0 / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.005274, allocations: 6.734 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.005352, allocations: 192.3 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.005357, allocations: 4 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.005366, allocations: 7.984 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.00539, allocations: 4 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.005399, allocations: 0 / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.005402, allocations: 3.938 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.005435, allocations: 127.2 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005435, allocations: 2.094 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001476/0.005582, allocations: 15.94 kB / 0.5262 GB, free: 12.08 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.0001154/0.005698, allocations: 123.1 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.723e-05/0.005755, allocations: 28.55 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005756, allocations: 0 / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.005767, allocations: 15.67 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.005901, allocations: 4.719 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.006107, allocations: 126.3 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.083e-05/0.006138, allocations: 55.3 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.006163, allocations: 7.984 kB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.006196, allocations: 70.2 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.006197, allocations: 0 / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.001902/0.008099, allocations: 0.5889 MB / 0.5272 GB, free: 11.05 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.73101594299078]