Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008865/0.0008865, allocations: 93.06 kB / 19.65 MB, free: 272 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.001484/0.001484, allocations: 165 kB / 23.02 MB, free: 1.543 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8199/0.8199, allocations: 154.6 MB / 414.5 MB, free: 0.6523 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.132e-05, allocations: 6.281 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002807/0.002838, allocations: 1.297 MB / 0.5216 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003901, allocations: 0.5582 MB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.003935, allocations: 4 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.003962, allocations: 0 / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.004014, allocations: 3.938 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.004642, allocations: 140.4 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.0047, allocations: 8.812 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.00475, allocations: 7.984 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.004783, allocations: 1.531 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.004829, allocations: 7.984 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004844, allocations: 3.938 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.005297, allocations: 263.5 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.005312, allocations: 0.9375 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.005336, allocations: 7.938 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.005613, allocations: 147.6 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.005617, allocations: 5.406 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005618, allocations: 0 / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.005623, allocations: 0 / 0.5227 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004094/0.006033, allocations: 377.1 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.006076, allocations: 8.031 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.006119, allocations: 4.938 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.006213, allocations: 105.7 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006227, allocations: 4.375 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.006238, allocations: 1.656 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/0.006327, allocations: 34.25 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006338, allocations: 192 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.006346, allocations: 1.719 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.006357, allocations: 4.375 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.006376, allocations: 3.938 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.006523, allocations: 121.3 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.00658, allocations: 39.02 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.006604, allocations: 17.58 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.006628, allocations: 0 / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.006653, allocations: 33.39 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.006653, allocations: 0 / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.006808, allocations: 47.55 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006839, allocations: 55.39 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.006926, allocations: 153.9 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.006937, allocations: 29.7 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.006979, allocations: 132.2 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.007006, allocations: 7.891 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.00704, allocations: 19.38 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.007176, allocations: 492.7 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.007192, allocations: 3.984 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.007205, allocations: 8.5 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.007237, allocations: 12.72 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007239, allocations: 1.219 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.333e-05/0.007313, allocations: 41.64 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007327, allocations: 4 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.007333, allocations: 0.5 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.007352, allocations: 9.781 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.007525, allocations: 11.98 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004273/0.007952, allocations: 0.8932 MB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.00797, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.007977, allocations: 6.438 kB / 0.5253 GB, free: 12.91 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 8.137e-05/0.008059, allocations: 156.6 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.008069, allocations: 7.938 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.008182, allocations: 48.55 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.008184, allocations: 2.406 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008188, allocations: 0 / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.008193, allocations: 3.984 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.421e-05/0.008267, allocations: 108.6 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008269, allocations: 0 / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.008343, allocations: 11.98 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008346, allocations: 0 / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008354, allocations: 8.969 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003569/0.008711, allocations: 0.898 MB / 0.5265 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008713, allocations: 0 / 0.5265 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.008792, allocations: 79.41 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.0088, allocations: 0 / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.008811, allocations: 0 / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.008828, allocations: 8 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.008844, allocations: 0 / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.008847, allocations: 0 / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.008888, allocations: 119.2 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008888, allocations: 4 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002299/0.009118, allocations: 10.69 kB / 0.5267 GB, free: 11.37 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.0001863/0.009304, allocations: 107.2 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.009471, allocations: 27.61 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009473, allocations: 0 / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.009526, allocations: 24.17 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.009689, allocations: 9.5 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.01002, allocations: 119.5 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.01006, allocations: 55.36 kB / 0.527 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.01008, allocations: 0.6562 kB / 0.527 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.0101, allocations: 8.5 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.001e-06/0.0101, allocations: 4.781 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.002906/0.013, allocations: 485.4 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.99755403585732]