Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.001345/0.001345, allocations: 73.88 kB / 20.65 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.001029/0.001029, allocations: 169 kB / 24.06 MB, free: 452 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 1.065/1.065, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.7849/0.7849, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.535e-05, allocations: 4.281 kB / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.00736/0.007386, allocations: 6.6 MB / 0.528 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.009532, allocations: 1.32 MB / 0.5293 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.00982, allocations: 19.81 kB / 0.5293 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.01017, allocations: 115.6 kB / 0.5294 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005915/0.01076, allocations: 285.2 kB / 0.5297 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.01153, allocations: 379.2 kB / 0.53 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008791/0.01241, allocations: 0.7801 MB / 0.5308 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.01284, allocations: 236.8 kB / 0.531 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.0135, allocations: 394.9 kB / 0.5314 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.01378, allocations: 194.1 kB / 0.5316 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.01382, allocations: 20 kB / 0.5316 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.01406, allocations: 107.7 kB / 0.5317 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.01414, allocations: 83.66 kB / 0.5318 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.01424, allocations: 95.77 kB / 0.5319 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.01463, allocations: 287 kB / 0.5321 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.01463, allocations: 0 / 0.5321 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01463, allocations: 0.5625 kB / 0.5321 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.01464, allocations: 0 / 0.5321 GB, free: 7.047 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006397/0.01528, allocations: 0.6218 MB / 0.5327 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01531, allocations: 12.03 kB / 0.5328 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.01539, allocations: 53.27 kB / 0.5328 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.01573, allocations: 271.5 kB / 0.5331 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01575, allocations: 16.88 kB / 0.5331 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.01578, allocations: 24.38 kB / 0.5331 GB, free: 6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.0161, allocations: 255 kB / 0.5333 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01611, allocations: 192 / 0.5333 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.01612, allocations: 8.125 kB / 0.5334 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.01613, allocations: 8 kB / 0.5334 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.01622, allocations: 48.11 kB / 0.5334 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.01703, allocations: 0.6894 MB / 0.5341 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.01715, allocations: 86.73 kB / 0.5342 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.0172, allocations: 36.05 kB / 0.5342 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.01728, allocations: 16.78 kB / 0.5342 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01731, allocations: 37.33 kB / 0.5342 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.01731, allocations: 1.5 kB / 0.5342 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002516/0.01756, allocations: 117.6 kB / 0.5344 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002999/0.01786, allocations: 81.05 kB / 0.5344 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.01803, allocations: 264.2 kB / 0.5347 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01805, allocations: 30.83 kB / 0.5347 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01816, allocations: 227 kB / 0.5349 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.01819, allocations: 39.67 kB / 0.535 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.01825, allocations: 44.23 kB / 0.535 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.01838, allocations: 0.5079 MB / 0.5355 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.01841, allocations: 11.98 kB / 0.5355 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.01853, allocations: 232.7 kB / 0.5357 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.01863, allocations: 84.94 kB / 0.5358 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.01863, allocations: 4 kB / 0.5358 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.0188, allocations: 109.5 kB / 0.5359 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01881, allocations: 6.5 kB / 0.5359 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01882, allocations: 4 kB / 0.5359 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.01883, allocations: 3.938 kB / 0.5359 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.01897, allocations: 43.84 kB / 0.536 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01897, allocations: 4 kB / 0.536 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.01906, allocations: 26.31 kB / 0.536 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01908, allocations: 4 kB / 0.536 GB, free: 2.758 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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 9.384e-05/0.01917, allocations: 160.6 kB / 0.5362 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.01922, allocations: 23.86 kB / 0.5362 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.01941, allocations: 129.7 kB / 0.5363 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.01942, allocations: 1.281 kB / 0.5363 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01942, allocations: 7.938 kB / 0.5363 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01942, allocations: 0 / 0.5363 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.01992, allocations: 473.3 kB / 0.5368 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.01993, allocations: 5.281 kB / 0.5368 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.02004, allocations: 31.97 kB / 0.5368 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.02005, allocations: 8.469 kB / 0.5368 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.02006, allocations: 4.688 kB / 0.5368 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.02006, allocations: 0 / 0.5368 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02006, allocations: 5.25 kB / 0.5368 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.02034, allocations: 425.5 kB / 0.5372 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.02039, allocations: 43.77 kB / 0.5373 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.02042, allocations: 12.56 kB / 0.5373 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.02055, allocations: 8.516 kB / 0.5373 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.02059, allocations: 16.52 kB / 0.5373 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.02061, allocations: 7.984 kB / 0.5373 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.321e-05/0.0207, allocations: 186 kB / 0.5375 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0207, allocations: 0 / 0.5375 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003865/0.02109, allocations: 80.81 kB / 0.5376 GB, free: 1.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002129/0.0213, allocations: 137.8 kB / 0.5377 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.02146, allocations: 80.84 kB / 0.5378 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02146, allocations: 2.094 kB / 0.5378 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.02154, allocations: 51.73 kB / 0.5378 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.02211, allocations: 96.48 kB / 0.5379 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/0.02304, allocations: 0.5018 MB / 0.5384 GB, free: 156 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.02312, allocations: 96.3 kB / 0.5385 GB, free: 40 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.02322, allocations: 21.31 kB / 0.5385 GB, free: 24 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.02345, allocations: 148.5 kB / 0.5387 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.02345, allocations: 0 / 0.5387 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.008149/0.0316, allocations: 4.545 MB / 0.5431 GB, free: 11.59 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.166054531000555]