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.0009156/0.0009156, allocations: 85.42 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.0009909/0.0009909, allocations: 165 kB / 23.27 MB, free: 1.219 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.9663/0.9663, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.8545/0.8545, allocations: 154.6 MB / 414.8 MB, free: 0.543 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.944e-06/1.944e-06, allocations: 0 / 0.5208 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.82e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001971/0.001999, allocations: 1.297 MB / 0.522 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.002829, allocations: 0.5519 MB / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.002865, allocations: 0 / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.002885, allocations: 0 / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.002935, allocations: 0.6875 kB / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.003437, allocations: 148.5 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.003484, allocations: 7.938 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.003525, allocations: 5.062 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.003561, allocations: 7.984 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.00361, allocations: 0 / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.003623, allocations: 0.5312 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.003946, allocations: 273.4 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.00396, allocations: 3.938 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.003975, allocations: 0 / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.004178, allocations: 159.5 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004181, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004182, allocations: 1.5 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004186, allocations: 0 / 0.5231 GB, free: 15.5 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.0003171/0.004503, allocations: 368 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.004543, allocations: 12.03 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.004569, allocations: 2.406 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.362e-05/0.004643, allocations: 105 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.004657, allocations: 4.375 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-06/0.004663, allocations: 384 / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.004729, allocations: 39.22 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004735, allocations: 192 / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.004741, allocations: 1.875 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004747, allocations: 384 / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.171e-05/0.004758, allocations: 7.875 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.004864, allocations: 101.2 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.004903, allocations: 31.59 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.004918, allocations: 16.77 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.004941, allocations: 3.938 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.00496, allocations: 34.52 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.004962, allocations: 3.984 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001015/0.005063, allocations: 46.27 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.005088, allocations: 51.41 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.005148, allocations: 155.6 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.005159, allocations: 29.7 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.00519, allocations: 126.9 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.005212, allocations: 10.14 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.005238, allocations: 23.38 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.005348, allocations: 0.4883 MB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.005356, allocations: 0 / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.005362, allocations: 4 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.005385, allocations: 18.11 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005387, allocations: 0 / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.614e-05/0.005433, allocations: 37.64 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005446, allocations: 4 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005451, allocations: 0 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005462, allocations: 0 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.005581, allocations: 13.98 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003268/0.005908, allocations: 0.8932 MB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.005925, allocations: 0 / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.005933, allocations: 4 kB / 0.5257 GB, free: 12.68 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 7.268e-05/0.006006, allocations: 157.5 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.006011, allocations: 0 / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.006092, allocations: 53.47 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006093, allocations: 3.25 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006096, allocations: 4 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006099, allocations: 4 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.828e-05/0.006167, allocations: 93.25 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.00617, allocations: 3.984 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.006222, allocations: 8 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006224, allocations: 0 / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.006229, allocations: 4 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002797/0.006508, allocations: 0.9077 MB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00651, allocations: 0 / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.243e-05/0.006562, allocations: 76.38 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.006571, allocations: 3.938 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.006581, allocations: 4 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.00659, allocations: 0 / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.006601, allocations: 3.984 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006604, allocations: 1.562 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.006639, allocations: 123.2 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006639, allocations: 0 / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000131/0.00677, allocations: 13.22 kB / 0.5271 GB, free: 11.14 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.0001294/0.006899, allocations: 107.2 kB / 0.5272 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.007014, allocations: 29.03 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.007016, allocations: 0 / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.007047, allocations: 20.17 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.007153, allocations: 12.05 kB / 0.5273 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.007382, allocations: 115.3 kB / 0.5274 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.007409, allocations: 55.36 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.007424, allocations: 0.7188 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.007455, allocations: 66.8 kB / 0.5275 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.007456, allocations: 0 / 0.5275 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.002019/0.009475, allocations: 0.509 MB / 0.528 GB, free: 10.23 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.779353335034102]