Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0009957/0.0009957, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001335/0.001335, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9958/0.9958, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.8099/0.8099, allocations: 154.9 MB / 415.9 MB, free: 260 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.5219 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.98e-05, allocations: 5.156 kB / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001567/0.001586, allocations: 1.294 MB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.002295, allocations: 0.5514 MB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.002316, allocations: 0 / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.002331, allocations: 0 / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.002369, allocations: 4.547 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.002713, allocations: 145.8 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.986e-05/0.002752, allocations: 11.94 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.002784, allocations: 4 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.002808, allocations: 7.984 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.002845, allocations: 0 / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.002855, allocations: 0.9375 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.003135, allocations: 275.4 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.003145, allocations: 1.406 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.013e-05/0.003155, allocations: 0 / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.003322, allocations: 147.5 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.003326, allocations: 3.984 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003326, allocations: 1.156 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003329, allocations: 0 / 0.5243 GB, free: 15.12 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002662/0.003596, allocations: 380 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.003627, allocations: 8.719 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.00365, allocations: 4.938 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.964e-05/0.00373, allocations: 105.9 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.003739, allocations: 384 / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-06/0.003743, allocations: 4.375 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.051e-05/0.003794, allocations: 31.38 kB / 0.5248 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.003805, allocations: 4.188 kB / 0.5248 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-06/0.003809, allocations: 0.9062 kB / 0.5248 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003814, allocations: 384 / 0.5248 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.219e-05/0.003827, allocations: 8.422 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.977e-05/0.003916, allocations: 99.48 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/0.003954, allocations: 31.03 kB / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.003968, allocations: 11.75 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.003979, allocations: 0 / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.003998, allocations: 38.97 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003998, allocations: 0 / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 8.687e-05/0.004085, allocations: 45.53 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.004117, allocations: 59.41 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.004174, allocations: 153.2 kB / 0.5252 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.004183, allocations: 25.7 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.004218, allocations: 138.8 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.004238, allocations: 7.891 kB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.004257, allocations: 19.38 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002474/0.004504, allocations: 0.4883 MB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.00451, allocations: 0 / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.004515, allocations: 2.844 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.004534, allocations: 19.69 kB / 0.5259 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.004535, allocations: 0 / 0.5259 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.132e-05/0.004576, allocations: 41.62 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.004585, allocations: 4 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.004589, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.004596, allocations: 1.469 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.004693, allocations: 11.98 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002808/0.004973, allocations: 0.8932 MB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.004985, allocations: 4.5 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.004989, allocations: 1.031 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.005047, allocations: 156.6 kB / 0.527 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-06/0.005052, allocations: 1.125 kB / 0.527 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.005114, allocations: 52.88 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005115, allocations: 0.5312 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.005117, allocations: 0.5 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.005119, allocations: 2.156 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.25e-05/0.005171, allocations: 93.27 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005173, allocations: 4 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.005212, allocations: 11.98 kB / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005214, allocations: 0 / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-06/0.005216, allocations: 0 / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002268/0.005443, allocations: 0.9033 MB / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005444, allocations: 0 / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.354e-05/0.005488, allocations: 76.42 kB / 0.5281 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.005494, allocations: 3.938 kB / 0.5281 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-06/0.005499, allocations: 0 / 0.5281 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-06/0.005505, allocations: 10.03 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-06/0.005514, allocations: 0 / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.005516, allocations: 3.984 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.005546, allocations: 123.2 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005546, allocations: 0 / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001288/0.005675, allocations: 12.97 kB / 0.5282 GB, free: 10.76 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.537e-05/0.00577, allocations: 108.2 kB / 0.5283 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.005862, allocations: 29.17 kB / 0.5284 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005863, allocations: 0 / 0.5284 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.005895, allocations: 19.67 kB / 0.5284 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.978e-05/0.005985, allocations: 5.281 kB / 0.5284 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.006161, allocations: 110.9 kB / 0.5285 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.006193, allocations: 59.34 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.095e-05/0.006204, allocations: 0.8438 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.006228, allocations: 67.55 kB / 0.5286 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.006228, allocations: 3.938 kB / 0.5286 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.001748/0.007976, allocations: 0.5165 MB / 0.5291 GB, free: 9.84 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.835111616179347]