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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 249.4 MB, free: 3.273 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.094/1.094, allocations: 175.7 MB / 480.2 MB, free: 2.762 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001926/0.001926, allocations: 62.72 kB / 0.6684 GB, free: 10.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2094, allocations: 94.54 MB / 0.7607 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05084/0.2603, allocations: 44.41 MB / 0.804 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.2735, allocations: 8.543 MB / 0.8124 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.275, allocations: 39.75 kB / 0.8124 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.2767, allocations: 0.5313 MB / 0.8129 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.2813, allocations: 1.571 MB / 0.8145 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.2846, allocations: 1.21 MB / 0.8157 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004096/0.2887, allocations: 2.631 MB / 0.8182 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.29, allocations: 0.7267 MB / 0.8189 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.2934, allocations: 1.474 MB / 0.8204 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.2948, allocations: 0.7427 MB / 0.8211 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.2949, allocations: 84 kB / 0.8212 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.2969, allocations: 0.8969 MB / 0.8221 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.2972, allocations: 254.9 kB / 0.8223 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000653/0.2979, allocations: 0.5403 MB / 0.8228 GB, free: 396 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3006, allocations: 1.685 MB / 0.8245 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3006, allocations: 0 / 0.8245 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3006, allocations: 0 / 0.8245 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.3006, allocations: 4 kB / 0.8245 GB, free: 14.69 MB / 0.6387 GB 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.002044/0.3027, allocations: 1.404 MB / 0.8259 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3027, allocations: 8.031 kB / 0.8259 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.3029, allocations: 132.2 kB / 0.826 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.3042, allocations: 0.8358 MB / 0.8268 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.3043, allocations: 61.31 kB / 0.8269 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-05/0.3044, allocations: 64 kB / 0.8269 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3057, allocations: 0.794 MB / 0.8277 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3058, allocations: 0 / 0.8277 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.3058, allocations: 28 kB / 0.8277 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3058, allocations: 16 kB / 0.8277 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/0.3068, allocations: 0.5163 MB / 0.8282 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.311, allocations: 3.816 MB / 0.832 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.3118, allocations: 315.8 kB / 0.8323 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.3121, allocations: 197.4 kB / 0.8325 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.3134, allocations: 1.307 MB / 0.8337 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/0.3139, allocations: 259.3 kB / 0.834 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.3139, allocations: 0 / 0.834 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.001546/0.3154, allocations: 0.6573 MB / 0.8346 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3155, allocations: 106.8 kB / 0.8347 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.317, allocations: 0.8216 MB / 0.8355 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.3171, allocations: 37.7 kB / 0.8356 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/0.3176, allocations: 480.5 kB / 0.836 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.3178, allocations: 142.8 kB / 0.8362 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.318, allocations: 126.2 kB / 0.8363 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3182, allocations: 334 kB / 0.8366 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.3186, allocations: 173 kB / 0.8368 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.3193, allocations: 376.7 kB / 0.8371 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.3203, allocations: 0.5489 MB / 0.8377 GB, free: 232 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.3203, allocations: 4 kB / 0.8377 GB, free: 228 kB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.4303/0.7506, allocations: 0.6396 MB / 0.8383 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.7507, allocations: 8.391 kB / 0.8383 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.7507, allocations: 9 kB / 0.8383 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.357e-05/0.7507, allocations: 12.62 kB / 0.8383 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.7512, allocations: 124.4 kB / 0.8384 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.7513, allocations: 10.06 kB / 0.8384 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.752, allocations: 80.98 kB / 0.8385 GB, free: 75.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.7521, allocations: 38.8 kB / 0.8386 GB, free: 75.97 MB / 0.6387 GB 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.000652/0.7528, allocations: 265.5 kB / 0.8388 GB, free: 75.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.753, allocations: 100.5 kB / 0.8389 GB, free: 75.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/0.756, allocations: 1.093 MB / 0.84 GB, free: 75.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.485e-05/0.756, allocations: 14.2 kB / 0.84 GB, free: 75.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.756, allocations: 0 / 0.84 GB, free: 75.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.7561, allocations: 4.406 kB / 0.84 GB, free: 75.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/0.7608, allocations: 1.958 MB / 0.8419 GB, free: 75.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/0.7608, allocations: 4.391 kB / 0.8419 GB, free: 75.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.7612, allocations: 88.03 kB / 0.842 GB, free: 75.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.243e-05/0.7613, allocations: 6.188 kB / 0.842 GB, free: 75.22 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.7613, allocations: 22.34 kB / 0.842 GB, free: 75.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-05/0.7614, allocations: 7.016 kB / 0.842 GB, free: 75.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.7614, allocations: 3.625 kB / 0.842 GB, free: 75.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.764, allocations: 0.9897 MB / 0.843 GB, free: 74.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006887/0.7647, allocations: 270.3 kB / 0.8433 GB, free: 74.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.7649, allocations: 20.62 kB / 0.8433 GB, free: 74.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.7654, allocations: 41.2 kB / 0.8433 GB, free: 74.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.7656, allocations: 55.62 kB / 0.8434 GB, free: 74.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.7657, allocations: 35.16 kB / 0.8434 GB, free: 74.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0015/0.7672, allocations: 0.5551 MB / 0.8439 GB, free: 74.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7672, allocations: 0 / 0.8439 GB, free: 74.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002446/0.7697, allocations: 353 kB / 0.8443 GB, free: 74.14 MB / 0.6387 GB 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 (69): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.003094/0.7728, allocations: 0.7635 MB / 0.845 GB, free: 73.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.7746, allocations: 0.5749 MB / 0.8456 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.7746, allocations: 1.156 kB / 0.8456 GB, free: 73.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.7756, allocations: 354.6 kB / 0.8459 GB, free: 73.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.7781, allocations: 408.1 kB / 0.8463 GB, free: 73.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.7824, allocations: 1.771 MB / 0.848 GB, free: 72.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.7833, allocations: 1.047 MB / 0.8491 GB, free: 71.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009626/0.7842, allocations: 185 kB / 0.8492 GB, free: 71.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.7845, allocations: 102.8 kB / 0.8493 GB, free: 71.83 MB / 0.6387 GB Notification: Performance of SimCode: time 2.134e-06/0.7845, allocations: 0.625 kB / 0.8493 GB, free: 71.83 MB / 0.6387 GB Notification: Performance of Templates: time 0.04259/0.8271, allocations: 19.87 MB / 0.8687 GB, free: 64.7 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.461077191866934]