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.0007374/0.0007374, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007438/0.0007438, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9108/0.9108, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7457/0.7457, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009138/0.0009138, allocations: 72.81 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4753, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03235/0.5077, allocations: 40.24 MB / 0.7584 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.5193, allocations: 8.189 MB / 0.7664 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.5206, allocations: 59.62 kB / 0.7665 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.522, allocations: 0.5426 MB / 0.767 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.5255, allocations: 1.61 MB / 0.7686 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.5279, allocations: 1.295 MB / 0.7698 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.5304, allocations: 2.611 MB / 0.7724 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.5311, allocations: 0.7365 MB / 0.7731 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.5334, allocations: 1.85 MB / 0.7749 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.5341, allocations: 0.7195 MB / 0.7756 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5342, allocations: 92.72 kB / 0.7757 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.5356, allocations: 0.7568 MB / 0.7764 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.5358, allocations: 266.5 kB / 0.7767 GB, free: 416 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.5362, allocations: 446.3 kB / 0.7771 GB, free: 148 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.5379, allocations: 1.734 MB / 0.7788 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5379, allocations: 1.312 kB / 0.7788 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5379, allocations: 0 / 0.7788 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.538, allocations: 0 / 0.7788 GB, free: 15.03 MB / 0.6667 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.001658/0.5396, allocations: 1.367 MB / 0.7801 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5397, allocations: 9.656 kB / 0.7801 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.54, allocations: 135 kB / 0.7803 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.541, allocations: 0.768 MB / 0.781 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.5411, allocations: 51.91 kB / 0.7811 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.5411, allocations: 65.16 kB / 0.7811 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5422, allocations: 0.9499 MB / 0.7821 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.5422, allocations: 1.094 kB / 0.7821 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.5423, allocations: 27.91 kB / 0.7821 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.5423, allocations: 17 kB / 0.7821 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5434, allocations: 0.5182 MB / 0.7826 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.546, allocations: 2.943 MB / 0.7855 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.5465, allocations: 329.2 kB / 0.7858 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.5467, allocations: 190.9 kB / 0.786 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.547, allocations: 124.8 kB / 0.7861 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.5474, allocations: 374.9 kB / 0.7865 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/0.5474, allocations: 1.188 kB / 0.7865 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.001048/0.5484, allocations: 0.6431 MB / 0.7871 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.5485, allocations: 107.4 kB / 0.7872 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.5493, allocations: 0.7551 MB / 0.7879 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.5494, allocations: 41.36 kB / 0.788 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.5497, allocations: 491.4 kB / 0.7884 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.5498, allocations: 145.2 kB / 0.7886 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.5499, allocations: 125.4 kB / 0.7887 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5501, allocations: 331.4 kB / 0.789 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.5503, allocations: 176.1 kB / 0.7892 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.5509, allocations: 0.7357 MB / 0.7899 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.5516, allocations: 0.55 MB / 0.7904 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5516, allocations: 5.156 kB / 0.7904 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001109/0.5527, allocations: 0.6456 MB / 0.7911 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.5528, allocations: 7.656 kB / 0.7911 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5528, allocations: 5.375 kB / 0.7911 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.5528, allocations: 9.281 kB / 0.7911 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.5532, allocations: 127.3 kB / 0.7912 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.5532, allocations: 12.72 kB / 0.7912 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.5535, allocations: 74 kB / 0.7913 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.5536, allocations: 38.05 kB / 0.7913 GB, free: 5.508 MB / 0.6667 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.0003265/0.5539, allocations: 271.8 kB / 0.7916 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.554, allocations: 88.12 kB / 0.7917 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.556, allocations: 1.122 MB / 0.7928 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.5561, allocations: 11.95 kB / 0.7928 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5561, allocations: 0 / 0.7928 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.5561, allocations: 3.984 kB / 0.7928 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.5583, allocations: 1.835 MB / 0.7946 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5583, allocations: 3.5 kB / 0.7946 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.5585, allocations: 94.55 kB / 0.7947 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5585, allocations: 5.156 kB / 0.7947 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.5585, allocations: 26.64 kB / 0.7947 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.5585, allocations: 5.594 kB / 0.7947 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.5586, allocations: 7.969 kB / 0.7947 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.5599, allocations: 1.016 MB / 0.7957 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.5601, allocations: 198.9 kB / 0.7959 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.5602, allocations: 19.98 kB / 0.7959 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.5604, allocations: 31.98 kB / 0.7959 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.5605, allocations: 72.27 kB / 0.796 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.5606, allocations: 27.98 kB / 0.796 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004751/0.561, allocations: 0.5029 MB / 0.7965 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.561, allocations: 0 / 0.7965 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009814/0.562, allocations: 386.9 kB / 0.7969 GB, free: 1.574 MB / 0.6667 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.001469/0.5635, allocations: 0.8335 MB / 0.7977 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007139/0.5642, allocations: 0.584 MB / 0.7983 GB, free: 416 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5642, allocations: 4 kB / 0.7983 GB, free: 412 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.5646, allocations: 376.1 kB / 0.7986 GB, free: 40 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.5655, allocations: 321.1 kB / 0.799 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5675, allocations: 1.793 MB / 0.8007 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.5681, allocations: 467.6 kB / 0.8011 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.5684, allocations: 174 kB / 0.8013 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.5685, allocations: 96.39 kB / 0.8014 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/0.5685, allocations: 0 / 0.8014 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of Templates: time 0.01857/0.5871, allocations: 18.29 MB / 0.8193 GB, free: 11.2 MB / 0.698 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.746788167045452] Failed to read output from testmodel.py, exit status != 0: 0.5931933450046927 0.601843719 0.062009396 Calling exit ...