Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001166/0.001166, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001176/0.001176, allocations: 173 kB / 23.49 MB, free: 1.059 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.093/1.093, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8436/0.8436, allocations: 154.8 MB / 415.1 MB, free: 488 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.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.847e-05, allocations: 5.047 kB / 0.5206 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002297/0.002325, allocations: 2.064 MB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.003963, allocations: 1.361 MB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.004038, allocations: 7.469 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.00452, allocations: 242.9 kB / 0.5242 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.005196, allocations: 442.3 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 5.07e-06/0.005201, allocations: 0.5625 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.00547, allocations: 402.3 kB / 0.525 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.005512, allocations: 17.14 kB / 0.525 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.005728, allocations: 188.4 kB / 0.5252 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.005887, allocations: 187.4 kB / 0.5253 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.005911, allocations: 24 kB / 0.5254 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.006251, allocations: 285 kB / 0.5256 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.006467, allocations: 391 kB / 0.526 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.006603, allocations: 191.5 kB / 0.5262 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.007123, allocations: 0.6313 MB / 0.5268 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.007128, allocations: 7.984 kB / 0.5268 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007129, allocations: 1.656 kB / 0.5268 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.007135, allocations: 0 / 0.5268 GB, free: 11.88 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008091/0.007944, allocations: 1.007 MB / 0.5278 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.007982, allocations: 8.031 kB / 0.5278 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.008343, allocations: 138.7 kB / 0.5279 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.008788, allocations: 0.5088 MB / 0.5284 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.008809, allocations: 12.38 kB / 0.5285 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.008832, allocations: 16.31 kB / 0.5285 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.009111, allocations: 173.4 kB / 0.5286 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.009119, allocations: 192 / 0.5286 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.009136, allocations: 4.375 kB / 0.5286 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.009146, allocations: 7.938 kB / 0.5286 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.009374, allocations: 168.4 kB / 0.5288 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01046, allocations: 1.063 MB / 0.5298 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.01078, allocations: 146.1 kB / 0.53 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.01087, allocations: 63.53 kB / 0.53 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.01092, allocations: 24.92 kB / 0.5301 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.01094, allocations: 37.39 kB / 0.5301 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.01094, allocations: 0 / 0.5301 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0003922/0.01134, allocations: 226.1 kB / 0.5303 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.01137, allocations: 64.28 kB / 0.5304 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.01213, allocations: 1.039 MB / 0.5314 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.01215, allocations: 29.7 kB / 0.5314 GB, free: 7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.01239, allocations: 421.5 kB / 0.5318 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.01242, allocations: 71.41 kB / 0.5319 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.0125, allocations: 59.34 kB / 0.532 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.01269, allocations: 492.4 kB / 0.5324 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.0128, allocations: 63.95 kB / 0.5325 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01291, allocations: 87.33 kB / 0.5326 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.0131, allocations: 156 kB / 0.5327 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.0131, allocations: 0 / 0.5327 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003494/0.01345, allocations: 294.8 kB / 0.533 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01347, allocations: 4 kB / 0.533 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01348, allocations: 0 / 0.533 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.0135, allocations: 4 kB / 0.533 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.01367, allocations: 63.34 kB / 0.5331 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.01368, allocations: 7.984 kB / 0.5331 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.01382, allocations: 27.84 kB / 0.5331 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01384, allocations: 15.98 kB / 0.5331 GB, free: 5.234 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 0.0001099/0.01395, allocations: 164.5 kB / 0.5333 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.01402, allocations: 75.53 kB / 0.5333 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.01433, allocations: 216.4 kB / 0.5335 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01433, allocations: 4 kB / 0.5336 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.01433, allocations: 3.938 kB / 0.5336 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01434, allocations: 0 / 0.5336 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.01534, allocations: 1.161 MB / 0.5347 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.01535, allocations: 4 kB / 0.5347 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01546, allocations: 47.88 kB / 0.5347 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.01547, allocations: 8 kB / 0.5347 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.01548, allocations: 4 kB / 0.5347 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-06/0.01549, allocations: 15.88 kB / 0.5348 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.0155, allocations: 7.938 kB / 0.5348 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.01583, allocations: 408.9 kB / 0.5352 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.0159, allocations: 80.38 kB / 0.5352 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.01596, allocations: 15.98 kB / 0.5353 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.01609, allocations: 17.91 kB / 0.5353 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.01613, allocations: 31.84 kB / 0.5353 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.01615, allocations: 12 kB / 0.5353 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005039/0.01665, allocations: 0.7138 MB / 0.536 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01665, allocations: 0 / 0.536 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003996/0.01705, allocations: 176.5 kB / 0.5362 GB, free: 1.875 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0002567/0.01731, allocations: 175.7 kB / 0.5363 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.01758, allocations: 150.8 kB / 0.5365 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01758, allocations: 0 / 0.5365 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.01767, allocations: 74.02 kB / 0.5366 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.01815, allocations: 188.4 kB / 0.5367 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.01986, allocations: 1.351 MB / 0.5381 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.01999, allocations: 210.6 kB / 0.5383 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.02014, allocations: 64.98 kB / 0.5383 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.02022, allocations: 45.92 kB / 0.5384 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/0.02022, allocations: 0 / 0.5384 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.01413/0.03436, allocations: 10.79 MB / 0.5489 GB, free: 5.078 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.16564797796309]