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.001417/0.001417, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001474/0.001474, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.609/1.609, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.104/1.104, allocations: 175.7 MB / 479.1 MB, free: 3.691 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.002295/0.002295, allocations: 67 kB / 0.6663 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2109, allocations: 94.54 MB / 0.7586 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04943/0.2603, allocations: 43.98 MB / 0.8016 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.2741, allocations: 8.467 MB / 0.8099 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.276, allocations: 39.75 kB / 0.8099 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.2779, allocations: 0.5196 MB / 0.8104 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/0.2831, allocations: 1.582 MB / 0.812 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.2865, allocations: 1.201 MB / 0.8131 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.2907, allocations: 2.623 MB / 0.8157 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.2923, allocations: 0.7579 MB / 0.8164 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.2961, allocations: 1.467 MB / 0.8179 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.2983, allocations: 0.7349 MB / 0.8186 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.2986, allocations: 88 kB / 0.8187 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.3015, allocations: 0.9007 MB / 0.8195 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.3019, allocations: 251 kB / 0.8198 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.3027, allocations: 0.5403 MB / 0.8203 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.306, allocations: 1.689 MB / 0.822 GB, free: 164 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.306, allocations: 0 / 0.822 GB, free: 164 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.803e-06/0.306, allocations: 0 / 0.822 GB, free: 164 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.306, allocations: 0 / 0.822 GB, free: 164 kB / 0.6231 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.002417/0.3085, allocations: 1.403 MB / 0.8233 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3085, allocations: 16.03 kB / 0.8233 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.3088, allocations: 128.2 kB / 0.8235 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.3102, allocations: 0.8436 MB / 0.8243 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.3103, allocations: 49.31 kB / 0.8243 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3104, allocations: 68 kB / 0.8244 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3118, allocations: 0.7901 MB / 0.8252 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3118, allocations: 4 kB / 0.8252 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.3119, allocations: 28 kB / 0.8252 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.3119, allocations: 16 kB / 0.8252 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.313, allocations: 0.5124 MB / 0.8257 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.3175, allocations: 3.82 MB / 0.8295 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.3182, allocations: 317.4 kB / 0.8298 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.3186, allocations: 193.4 kB / 0.8299 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.3197, allocations: 1.311 MB / 0.8312 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.3203, allocations: 259.5 kB / 0.8315 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=41): time 2.234e-06/0.3203, allocations: 0 / 0.8315 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.001631/0.3219, allocations: 0.6563 MB / 0.8321 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.322, allocations: 106.8 kB / 0.8322 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.3232, allocations: 0.8099 MB / 0.833 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.3232, allocations: 37.7 kB / 0.833 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.3237, allocations: 484.5 kB / 0.8335 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3238, allocations: 138.8 kB / 0.8336 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.324, allocations: 130.2 kB / 0.8338 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3242, allocations: 326 kB / 0.8341 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3246, allocations: 177 kB / 0.8342 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.3252, allocations: 388.5 kB / 0.8346 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.3261, allocations: 0.5463 MB / 0.8351 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3261, allocations: 0 / 0.8351 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001361/0.3275, allocations: 0.6445 MB / 0.8358 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3275, allocations: 8 kB / 0.8358 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3275, allocations: 4 kB / 0.8358 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.3276, allocations: 15.92 kB / 0.8358 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.328, allocations: 124.5 kB / 0.8359 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.328, allocations: 15.94 kB / 0.8359 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.3286, allocations: 91.41 kB / 0.836 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.3287, allocations: 31.98 kB / 0.836 GB, free: 0.7539 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.0004571/0.3292, allocations: 261.6 kB / 0.8363 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3293, allocations: 95.39 kB / 0.8364 GB, free: 404 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.3314, allocations: 1.085 MB / 0.8374 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.3314, allocations: 19.73 kB / 0.8375 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3314, allocations: 0 / 0.8375 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3314, allocations: 7.984 kB / 0.8375 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.3345, allocations: 1.957 MB / 0.8394 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3345, allocations: 0 / 0.8394 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3348, allocations: 87.89 kB / 0.8395 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.3348, allocations: 7.938 kB / 0.8395 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.3348, allocations: 19.98 kB / 0.8395 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.3349, allocations: 8 kB / 0.8395 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.3349, allocations: 8.312 kB / 0.8395 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3365, allocations: 0.9843 MB / 0.8405 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.3369, allocations: 276.1 kB / 0.8407 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.337, allocations: 23.98 kB / 0.8408 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.3374, allocations: 35.91 kB / 0.8408 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3375, allocations: 56.38 kB / 0.8408 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.3376, allocations: 35.98 kB / 0.8409 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008751/0.3385, allocations: 0.5542 MB / 0.8414 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3385, allocations: 4 kB / 0.8414 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001192/0.3397, allocations: 355.1 kB / 0.8418 GB, free: 10.69 MB / 0.6544 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.002577/0.3422, allocations: 0.7743 MB / 0.8425 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.3438, allocations: 0.5652 MB / 0.8431 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.3438, allocations: 4.25 kB / 0.8431 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.3446, allocations: 355 kB / 0.8434 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.3469, allocations: 400.3 kB / 0.8438 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.3507, allocations: 1.806 MB / 0.8456 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.3516, allocations: 1.038 MB / 0.8466 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.3519, allocations: 103.4 kB / 0.8467 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.3519, allocations: 0 / 0.8467 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of Templates: time 0.4219/0.7738, allocations: 17.85 MB / 0.8641 GB, free: 87.39 MB / 0.6544 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: 12.30338152917102] Failed to read output from testmodel.py, exit status != 0: 0.7822447889484465 0.801350632 0.491096033 Calling exit ...