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.001722/0.001722, allocations: 112.7 kB / 17.08 MB, free: 6.016 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.001907/0.001907, allocations: 188.3 kB / 20.02 MB, free: 3.086 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.601/1.601, allocations: 222.9 MB / 245.7 MB, free: 4.223 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.176/1.176, allocations: 175.5 MB / 473.4 MB, free: 4.863 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.001948/0.001948, allocations: 73.23 kB / 0.652 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2025, allocations: 90.05 MB / 0.74 GB, free: 364 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04691/0.2495, allocations: 43.65 MB / 0.7826 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.2629, allocations: 8.464 MB / 0.7908 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.2651, allocations: 39.75 kB / 0.7909 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.267, allocations: 0.5196 MB / 0.7914 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.2723, allocations: 1.489 MB / 0.7928 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.2759, allocations: 1.243 MB / 0.7941 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.28, allocations: 2.631 MB / 0.7966 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.2816, allocations: 0.914 MB / 0.7975 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.2854, allocations: 1.451 MB / 0.7989 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.2869, allocations: 0.7056 MB / 0.7996 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2871, allocations: 84 kB / 0.7997 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.2895, allocations: 0.8774 MB / 0.8006 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.2898, allocations: 243.1 kB / 0.8008 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008258/0.2907, allocations: 0.5403 MB / 0.8013 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.2938, allocations: 1.685 MB / 0.803 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2938, allocations: 3.938 kB / 0.803 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2938, allocations: 0 / 0.803 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.2939, allocations: 0 / 0.803 GB, free: 15.61 MB / 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.002268/0.2961, allocations: 1.403 MB / 0.8043 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2962, allocations: 15.97 kB / 0.8044 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.2964, allocations: 124.2 kB / 0.8045 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2978, allocations: 0.8398 MB / 0.8053 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.2979, allocations: 53.31 kB / 0.8053 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.298, allocations: 64 kB / 0.8054 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.2993, allocations: 0.7901 MB / 0.8062 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2994, allocations: 3.938 kB / 0.8062 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.2994, allocations: 28 kB / 0.8062 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.2995, allocations: 20 kB / 0.8062 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.3004, allocations: 0.5085 MB / 0.8067 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.3045, allocations: 3.816 MB / 0.8105 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.3052, allocations: 331.8 kB / 0.8108 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.3056, allocations: 216.7 kB / 0.811 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.3067, allocations: 1.314 MB / 0.8123 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.3072, allocations: 259.3 kB / 0.8125 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.745e-06/0.3073, allocations: 0 / 0.8125 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.001492/0.3087, allocations: 0.6563 MB / 0.8131 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.3088, allocations: 106.8 kB / 0.8132 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3099, allocations: 0.8138 MB / 0.814 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.31, allocations: 41.7 kB / 0.8141 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.3104, allocations: 476.5 kB / 0.8145 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3105, allocations: 134.9 kB / 0.8147 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.3108, allocations: 138.2 kB / 0.8148 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3109, allocations: 330 kB / 0.8151 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.3113, allocations: 169 kB / 0.8153 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.3118, allocations: 385.8 kB / 0.8156 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/0.3127, allocations: 0.5578 MB / 0.8162 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3128, allocations: 0 / 0.8162 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001214/0.314, allocations: 0.6408 MB / 0.8168 GB, free: 476 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.314, allocations: 8 kB / 0.8168 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.314, allocations: 4 kB / 0.8168 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.3141, allocations: 15.94 kB / 0.8168 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.3145, allocations: 124.5 kB / 0.817 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.3145, allocations: 15.94 kB / 0.817 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.3151, allocations: 87.45 kB / 0.8171 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.3152, allocations: 39.98 kB / 0.8171 GB, free: 180 kB / 0.6231 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.0003827/0.3156, allocations: 261.6 kB / 0.8173 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.3157, allocations: 99.33 kB / 0.8174 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.3176, allocations: 1.085 MB / 0.8185 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.3177, allocations: 15.92 kB / 0.8185 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3177, allocations: 0 / 0.8185 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3177, allocations: 7.984 kB / 0.8185 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.3205, allocations: 1.964 MB / 0.8204 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3205, allocations: 4 kB / 0.8204 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.3208, allocations: 79.89 kB / 0.8205 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.3208, allocations: 4 kB / 0.8205 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.3209, allocations: 31.92 kB / 0.8206 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.3209, allocations: 12.31 kB / 0.8206 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3209, allocations: 8 kB / 0.8206 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3224, allocations: 0.9843 MB / 0.8215 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.3227, allocations: 264.1 kB / 0.8218 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3228, allocations: 27.98 kB / 0.8218 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.3232, allocations: 31.97 kB / 0.8218 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3233, allocations: 60.38 kB / 0.8219 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.3234, allocations: 27.98 kB / 0.8219 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007809/0.3242, allocations: 0.5581 MB / 0.8225 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3242, allocations: 4 kB / 0.8225 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001107/0.3253, allocations: 355.1 kB / 0.8228 GB, free: 10.11 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.002334/0.3277, allocations: 0.7708 MB / 0.8236 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.329, allocations: 0.5804 MB / 0.8241 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.329, allocations: 4.375 kB / 0.8241 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/0.3296, allocations: 383 kB / 0.8245 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.3316, allocations: 401.2 kB / 0.8249 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.3347, allocations: 1.809 MB / 0.8267 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.3354, allocations: 1.042 MB / 0.8277 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.3357, allocations: 103.3 kB / 0.8278 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.3357, allocations: 3.938 kB / 0.8278 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of Templates: time 0.02795/0.3637, allocations: 17.79 MB / 0.8451 GB, free: 3.449 MB / 0.6544 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.710443604999455] Failed to read output from testmodel.py, exit status != 0: 0.3711257949908031 0.384380217 0.08790742 Calling exit ...