Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008332/0.0008332, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000887/0.000887, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.911/0.911, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-531:686: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-531:694: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.6983/0.6983, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.038e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02861/0.02864, allocations: 40.11 MB / 0.6585 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.03747, allocations: 8.201 MB / 0.6665 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.0384, allocations: 67.38 kB / 0.6666 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.03948, allocations: 0.5428 MB / 0.6671 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.04235, allocations: 1.64 MB / 0.6687 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.04463, allocations: 1.304 MB / 0.67 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.04749, allocations: 2.669 MB / 0.6726 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.04831, allocations: 0.7389 MB / 0.6733 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.05052, allocations: 1.841 MB / 0.6751 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.05123, allocations: 0.6191 MB / 0.6757 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.05133, allocations: 88 kB / 0.6758 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.05283, allocations: 0.7676 MB / 0.6765 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.05304, allocations: 270.9 kB / 0.6768 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.05333, allocations: 363.1 kB / 0.6771 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.05532, allocations: 1.745 MB / 0.6788 GB, free: 40 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.05532, allocations: 4 kB / 0.6788 GB, free: 36 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.05532, allocations: 0 / 0.6788 GB, free: 36 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.05534, allocations: 4 kB / 0.6788 GB, free: 32 kB / 0.6355 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.3048/0.3601, allocations: 1.34 MB / 0.6801 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3601, allocations: 10 kB / 0.6802 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.3604, allocations: 137.3 kB / 0.6803 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008464/0.3613, allocations: 0.7562 MB / 0.681 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3613, allocations: 58.23 kB / 0.6811 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.3613, allocations: 67.97 kB / 0.6811 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.3621, allocations: 0.9378 MB / 0.6821 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3622, allocations: 3.938 kB / 0.6821 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3622, allocations: 33.31 kB / 0.6821 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3622, allocations: 18.56 kB / 0.6821 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.3627, allocations: 0.5149 MB / 0.6826 GB, free: 99.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.3645, allocations: 2.937 MB / 0.6855 GB, free: 97.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.3649, allocations: 324.8 kB / 0.6858 GB, free: 97.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3651, allocations: 196.8 kB / 0.686 GB, free: 97.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.3654, allocations: 113 kB / 0.6861 GB, free: 97.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.3657, allocations: 369.5 kB / 0.6864 GB, free: 97.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 3.597e-06/0.3657, allocations: 0 / 0.6864 GB, free: 97.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.0008003/0.3665, allocations: 0.6569 MB / 0.6871 GB, free: 97.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3665, allocations: 111.6 kB / 0.6872 GB, free: 97.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.3671, allocations: 0.752 MB / 0.6879 GB, free: 96.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3671, allocations: 36.41 kB / 0.688 GB, free: 96.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3673, allocations: 495.8 kB / 0.6884 GB, free: 96.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.3674, allocations: 135.1 kB / 0.6886 GB, free: 96.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3675, allocations: 130.3 kB / 0.6887 GB, free: 96.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.3676, allocations: 329.4 kB / 0.689 GB, free: 95.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3678, allocations: 176.8 kB / 0.6892 GB, free: 95.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.3682, allocations: 0.7393 MB / 0.6899 GB, free: 95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.3688, allocations: 0.5525 MB / 0.6904 GB, free: 94.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3688, allocations: 6.688 kB / 0.6904 GB, free: 94.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007401/0.3695, allocations: 0.6365 MB / 0.6911 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3695, allocations: 8.625 kB / 0.6911 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3695, allocations: 5.875 kB / 0.6911 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.3696, allocations: 17.03 kB / 0.6911 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3698, allocations: 122.6 kB / 0.6912 GB, free: 94.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3698, allocations: 11.84 kB / 0.6912 GB, free: 94.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.3701, allocations: 79.94 kB / 0.6913 GB, free: 94.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3701, allocations: 33.16 kB / 0.6913 GB, free: 94.31 MB / 0.6355 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.0002491/0.3704, allocations: 264.9 kB / 0.6916 GB, free: 94.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.3705, allocations: 86.69 kB / 0.6917 GB, free: 94.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3718, allocations: 1.127 MB / 0.6928 GB, free: 93.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.3718, allocations: 15.39 kB / 0.6928 GB, free: 93.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3718, allocations: 0 / 0.6928 GB, free: 93.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3718, allocations: 7.203 kB / 0.6928 GB, free: 93.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3736, allocations: 1.828 MB / 0.6946 GB, free: 92.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.3736, allocations: 5.969 kB / 0.6946 GB, free: 92.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3737, allocations: 89.98 kB / 0.6947 GB, free: 92.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.3737, allocations: 8.406 kB / 0.6947 GB, free: 92.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.3738, allocations: 23.27 kB / 0.6947 GB, free: 92.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.3738, allocations: 10.19 kB / 0.6947 GB, free: 92.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3738, allocations: 2.812 kB / 0.6947 GB, free: 92.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.3747, allocations: 1.015 MB / 0.6957 GB, free: 92.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3749, allocations: 194.3 kB / 0.6959 GB, free: 92.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.3749, allocations: 21.03 kB / 0.6959 GB, free: 92.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3751, allocations: 36.47 kB / 0.6959 GB, free: 92.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.3752, allocations: 62.66 kB / 0.696 GB, free: 92.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.3752, allocations: 30.75 kB / 0.696 GB, free: 92.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003768/0.3756, allocations: 0.5053 MB / 0.6965 GB, free: 91.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3756, allocations: 0 / 0.6965 GB, free: 91.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007567/0.3764, allocations: 383.1 kB / 0.6969 GB, free: 91.75 MB / 0.6355 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 (71): * Single equations (assignments): 51 * 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.001366/0.3777, allocations: 0.8525 MB / 0.6977 GB, free: 91.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3784, allocations: 0.5871 MB / 0.6983 GB, free: 91.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3784, allocations: 0 / 0.6983 GB, free: 91.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.3787, allocations: 374.8 kB / 0.6986 GB, free: 91.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.3796, allocations: 327.9 kB / 0.699 GB, free: 91.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3814, allocations: 1.806 MB / 0.7007 GB, free: 90.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3816, allocations: 470.7 kB / 0.7012 GB, free: 90.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3818, allocations: 95.84 kB / 0.7013 GB, free: 90.03 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.3818, allocations: 0 / 0.7013 GB, free: 90.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.0196/0.4014, allocations: 17.78 MB / 0.7186 GB, free: 87.54 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9445891715586185] Failed to read output from testmodel.py, exit status != 0: 0.40844993107020855 0.417736553 0.360304222 Calling exit ...