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.001808/0.001808, allocations: 85.48 kB / 19.44 MB, free: 344 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.002076/0.002076, allocations: 173.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.79/1.79, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.382/1.382, allocations: 154.8 MB / 414.4 MB, free: 456 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.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.532e-06/1.532e-06, allocations: 0 / 0.5199 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.868e-05, allocations: 6.016 kB / 0.5199 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00255/0.002579, allocations: 1.282 MB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003709, allocations: 0.5461 MB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.003731, allocations: 0 / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.003745, allocations: 5.844 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.003797, allocations: 7.922 kB / 0.5217 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.00432, allocations: 139.3 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.004367, allocations: 9.875 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.004404, allocations: 3.984 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.004439, allocations: 4 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.00449, allocations: 4 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.004503, allocations: 0 / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.004974, allocations: 272.9 kB / 0.5221 GB, free: 76 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.004987, allocations: 0 / 0.5221 GB, free: 76 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.005008, allocations: 7.938 kB / 0.5221 GB, free: 68 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.005325, allocations: 143.6 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005327, allocations: 0.9688 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005328, allocations: 0 / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005331, allocations: 0.9688 kB / 0.5222 GB, free: 15.93 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.000501/0.005832, allocations: 387.9 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.00587, allocations: 8.031 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.005909, allocations: 1.938 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.00603, allocations: 108.6 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.006042, allocations: 0.875 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.006053, allocations: 5.406 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.006149, allocations: 38.25 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.006157, allocations: 192 / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.006165, allocations: 1.594 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006171, allocations: 4.359 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.006202, allocations: 7.938 kB / 0.5228 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.006378, allocations: 114.4 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.006451, allocations: 35.02 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006475, allocations: 11.75 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.006496, allocations: 0 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.006533, allocations: 43.17 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.006534, allocations: 0 / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.006691, allocations: 41.59 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000269/0.00696, allocations: 51.41 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.00709, allocations: 167.4 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.00711, allocations: 25.7 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.00718, allocations: 126.9 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.007206, allocations: 12.69 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.00724, allocations: 15.38 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.007508, allocations: 0.4898 MB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.00752, allocations: 0 / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.007535, allocations: 7.984 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.007569, allocations: 16.72 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007571, allocations: 0 / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.129e-05/0.007643, allocations: 38.58 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007658, allocations: 8 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007662, allocations: 0 / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.007676, allocations: 3 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.007826, allocations: 11.98 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/0.008476, allocations: 0.8932 MB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.008496, allocations: 7.875 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.008504, allocations: 4 kB / 0.5248 GB, free: 13.04 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 0.0001223/0.008626, allocations: 159.3 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.008639, allocations: 7.922 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.008753, allocations: 44.95 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008755, allocations: 4 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.008758, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.00876, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.008878, allocations: 112.6 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008879, allocations: 0.5312 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.008961, allocations: 13.31 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.008965, allocations: 3.984 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.008974, allocations: 3.938 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/0.009567, allocations: 0.8992 MB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009568, allocations: 0 / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.009672, allocations: 80.38 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.009677, allocations: 0 / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.009687, allocations: 5.281 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.009703, allocations: 4 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.009719, allocations: 0 / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.009722, allocations: 0 / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.012e-05/0.009792, allocations: 123.8 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009792, allocations: 0.8438 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001825/0.009974, allocations: 8 kB / 0.5262 GB, free: 11.49 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 0.0001834/0.01016, allocations: 109.5 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01034, allocations: 31.61 kB / 0.5264 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01034, allocations: 0 / 0.5264 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.01045, allocations: 26.11 kB / 0.5264 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.01059, allocations: 4.5 kB / 0.5264 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.0109, allocations: 114.3 kB / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.033e-05/0.01096, allocations: 61.78 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.01098, allocations: 0 / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.011, allocations: 8.5 kB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.011, allocations: 0 / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.003312/0.01431, allocations: 482.2 kB / 0.527 GB, free: 10.66 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: 6.34369479608722]