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.001078/0.001078, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.001206/0.001206, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.891/0.891, 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.7094/0.7094, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.000875/0.000875, allocations: 67.91 kB / 0.6195 GB, free: 13.17 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.4102/0.411, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02591/0.4369, allocations: 40.24 MB / 0.7584 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009403/0.4463, allocations: 8.197 MB / 0.7664 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.4475, allocations: 63.19 kB / 0.7665 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.4487, allocations: 0.5428 MB / 0.767 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.4521, allocations: 1.611 MB / 0.7686 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.4546, allocations: 1.29 MB / 0.7698 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002864/0.4574, allocations: 2.623 MB / 0.7724 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00099/0.4584, allocations: 0.7201 MB / 0.7731 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.4609, allocations: 1.855 MB / 0.7749 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.462, allocations: 0.7142 MB / 0.7756 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.4622, allocations: 88.94 kB / 0.7757 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.4639, allocations: 0.7691 MB / 0.7764 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4641, allocations: 268.5 kB / 0.7767 GB, free: 408 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.4645, allocations: 447 kB / 0.7771 GB, free: 140 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.4667, allocations: 1.81 MB / 0.7789 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4667, allocations: 5.094 kB / 0.7789 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4667, allocations: 0 / 0.7789 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.665e-05/0.4668, allocations: 3.938 kB / 0.7789 GB, free: 14.95 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.001987/0.4687, allocations: 1.356 MB / 0.7802 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4688, allocations: 8.594 kB / 0.7802 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.4692, allocations: 138.8 kB / 0.7804 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4702, allocations: 0.7698 MB / 0.7811 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.4702, allocations: 50.12 kB / 0.7812 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.4703, allocations: 65.78 kB / 0.7812 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009343/0.4712, allocations: 0.942 MB / 0.7821 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4712, allocations: 6.125 kB / 0.7821 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.4713, allocations: 35.33 kB / 0.7822 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4713, allocations: 17.03 kB / 0.7822 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.472, allocations: 0.5179 MB / 0.7827 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.4746, allocations: 2.943 MB / 0.7856 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.4751, allocations: 325.7 kB / 0.7859 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.4753, allocations: 190.8 kB / 0.7861 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.4756, allocations: 120.7 kB / 0.7862 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.476, allocations: 375.1 kB / 0.7865 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 2.685e-06/0.476, allocations: 4 kB / 0.7865 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.0009434/0.477, allocations: 0.6445 MB / 0.7872 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.477, allocations: 107 kB / 0.7873 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.4777, allocations: 0.7542 MB / 0.788 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4777, allocations: 42.11 kB / 0.7881 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.478, allocations: 491.5 kB / 0.7885 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.4781, allocations: 144.7 kB / 0.7887 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.4782, allocations: 130.8 kB / 0.7888 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.4783, allocations: 331.5 kB / 0.7891 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4785, allocations: 175.1 kB / 0.7893 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.479, allocations: 0.7396 MB / 0.79 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.4796, allocations: 0.5499 MB / 0.7905 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4796, allocations: 1.406 kB / 0.7905 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008288/0.4804, allocations: 0.6455 MB / 0.7912 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4804, allocations: 11.31 kB / 0.7912 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4804, allocations: 5.938 kB / 0.7912 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4804, allocations: 8.062 kB / 0.7912 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.4807, allocations: 125.6 kB / 0.7913 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4807, allocations: 16.17 kB / 0.7913 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.481, allocations: 65.83 kB / 0.7914 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.4811, allocations: 37.61 kB / 0.7914 GB, free: 5.434 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.0002683/0.4814, allocations: 273.2 kB / 0.7917 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.4814, allocations: 91.67 kB / 0.7918 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.4828, allocations: 1.125 MB / 0.7929 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4828, allocations: 3.984 kB / 0.7929 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4828, allocations: 5.125 kB / 0.7929 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.4831, allocations: 180.5 kB / 0.793 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.4832, allocations: 20.38 kB / 0.7931 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.4833, allocations: 31.28 kB / 0.7931 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.4834, allocations: 50.12 kB / 0.7931 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009426/0.4844, allocations: 0.8815 MB / 0.794 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009981/0.4854, allocations: 1.025 MB / 0.795 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003777/0.4857, allocations: 337.7 kB / 0.7953 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004839/0.4862, allocations: 0.5028 MB / 0.7958 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of Backend: time 2.7e-07/0.4862, allocations: 0 / 0.7958 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.4884, allocations: 1.153 MB / 0.7969 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of SimCode: time 0.002128/0.4905, allocations: 2.121 MB / 0.799 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.02086/0.5114, allocations: 18.75 MB / 0.8173 GB, free: 13.39 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.32214877801016] Failed to read output from testmodel.py, exit status != 0: 0.5173661899752915 0.525565929 0.05681332799999994 Calling exit ...