Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.000703/0.000703, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008317/0.001535, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007072/0.0007072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008788/0.001586, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9858/0.9858, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09326/1.079, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7924/0.7924, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2642/1.057, allocations: 49.13 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.833e-05, allocations: 5.688 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.009242/0.00926, allocations: 11.61 MB / 461.3 MB, free: 9.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.01588, allocations: 4.968 MB / 466.3 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.0169, allocations: 59.97 kB / 466.3 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.01763, allocations: 359 kB / 466.7 MB, free: 3.812 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.01949, allocations: 1.028 MB / 467.7 MB, free: 2.785 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.02122, allocations: 1.105 MB / 468.8 MB, free: 1.691 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.02362, allocations: 2.63 MB / 471.4 MB, free: 15.06 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.02444, allocations: 0.7381 MB / 472.2 MB, free: 14.31 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.02591, allocations: 1.333 MB / 473.5 MB, free: 12.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009915/0.0269, allocations: 0.5972 MB / 474.1 MB, free: 12.38 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.02701, allocations: 88.84 kB / 474.2 MB, free: 12.29 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.02766, allocations: 363.4 kB / 474.6 MB, free: 11.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.02783, allocations: 213.8 kB / 474.8 MB, free: 11.73 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.02812, allocations: 311.3 kB / 475.1 MB, free: 11.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.02914, allocations: 0.9224 MB / 476 MB, free: 10.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.02916, allocations: 4 kB / 476 MB, free: 10.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02916, allocations: 3.938 kB / 476 MB, free: 10.49 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.02918, allocations: 0 / 476 MB, free: 10.49 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00132/0.0305, allocations: 1.495 MB / 477.5 MB, free: 8.965 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.03053, allocations: 8.812 kB / 477.5 MB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.03077, allocations: 224.2 kB / 477.7 MB, free: 8.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.03153, allocations: 0.6674 MB / 478.4 MB, free: 8.035 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.03157, allocations: 53.69 kB / 478.4 MB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.03163, allocations: 75.94 kB / 478.5 MB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.03224, allocations: 0.7297 MB / 479.2 MB, free: 7.078 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.03226, allocations: 7.938 kB / 479.3 MB, free: 7.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.03229, allocations: 28 kB / 479.3 MB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.0323, allocations: 16.78 kB / 479.3 MB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.03254, allocations: 206.1 kB / 479.5 MB, free: 6.828 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.03465, allocations: 2.484 MB / 482 MB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.03487, allocations: 210.5 kB / 482.2 MB, free: 4.047 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.03496, allocations: 82.02 kB / 482.3 MB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.03508, allocations: 32.31 kB / 482.3 MB, free: 3.934 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.03532, allocations: 269 kB / 482.6 MB, free: 3.633 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 2.985e-06/0.03532, allocations: 0 / 482.6 MB, free: 3.633 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003463/0.03567, allocations: 267.1 kB / 482.8 MB, free: 3.367 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.0357, allocations: 63.19 kB / 482.9 MB, free: 3.293 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.03613, allocations: 0.6418 MB / 483.5 MB, free: 2.633 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.03617, allocations: 37.7 kB / 483.6 MB, free: 2.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.03634, allocations: 374.1 kB / 483.9 MB, free: 2.219 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.03642, allocations: 148 kB / 484.1 MB, free: 2.074 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.03654, allocations: 122.2 kB / 484.2 MB, free: 1.949 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.03662, allocations: 329.9 kB / 484.5 MB, free: 1.621 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.03669, allocations: 58.11 kB / 484.6 MB, free: 1.566 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.03697, allocations: 0.603 MB / 485.2 MB, free: 0.7969 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.03723, allocations: 340.2 kB / 485.5 MB, free: 404 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.03723, allocations: 5.344 kB / 485.5 MB, free: 400 kB / 458.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003325/0.03756, allocations: 343.2 kB / 485.8 MB, free: 52 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.03758, allocations: 13.52 kB / 485.9 MB, free: 40 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.03759, allocations: 4 kB / 485.9 MB, free: 36 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.0376, allocations: 8.656 kB / 485.9 MB, free: 28 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.03789, allocations: 149.2 kB / 486 MB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.03789, allocations: 11.94 kB / 486 MB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.03813, allocations: 63.61 kB / 486.1 MB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.03817, allocations: 36.78 kB / 486.1 MB, free: 15.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001571/0.03833, allocations: 158.9 kB / 486.3 MB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.03839, allocations: 67.86 kB / 486.3 MB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.03906, allocations: 0.6049 MB / 487 MB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.03907, allocations: 15.98 kB / 487 MB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.03907, allocations: 1.312 kB / 487 MB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.03908, allocations: 3.984 kB / 487 MB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.04045, allocations: 1.131 MB / 488.1 MB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.04046, allocations: 0 / 488.1 MB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.04063, allocations: 95.89 kB / 488.2 MB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.0408, allocations: 148.2 kB / 488.3 MB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.04081, allocations: 11.94 kB / 488.4 MB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.04083, allocations: 20.95 kB / 488.4 MB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.04084, allocations: 7.938 kB / 488.4 MB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.04084, allocations: 4 kB / 488.4 MB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.04126, allocations: 0.588 MB / 489 MB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.04132, allocations: 16 kB / 489 MB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.04148, allocations: 29.73 kB / 489 MB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.04154, allocations: 56.34 kB / 489.1 MB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.04158, allocations: 23.98 kB / 489.1 MB, free: 12.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.04182, allocations: 315.3 kB / 489.4 MB, free: 12.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04182, allocations: 1.75 kB / 489.4 MB, free: 12.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.04242, allocations: 291.3 kB / 489.7 MB, free: 12.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * 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.00161/0.04403, allocations: 0.7919 MB / 490.5 MB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.0444, allocations: 307.4 kB / 490.8 MB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.946e-05/0.04442, allocations: 12 kB / 490.8 MB, free: 11.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.0446, allocations: 182.5 kB / 491 MB, free: 11.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.04542, allocations: 405.5 kB / 491.4 MB, free: 10.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/0.0518, allocations: 1.603 MB / 493 MB, free: 9.188 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.05193, allocations: 193.2 kB / 493.2 MB, free: 8.977 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003914/0.05233, allocations: 137.2 kB / 493.3 MB, free: 8.852 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/0.05283, allocations: 336.9 kB / 493.6 MB, free: 8.523 MB / 474.7 MB Notification: Performance of SimCode: time 1.774e-06/0.05283, allocations: 0 / 493.6 MB, free: 8.523 MB / 474.7 MB Notification: Performance of Templates: time 0.02433/0.07717, allocations: 17.43 MB / 0.4991 GB, free: 7.711 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8375398563221097]