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.0007741/0.0007741, allocations: 72.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.0008249/0.0008249, 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.8658/0.8658, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.702/0.702, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.00093/0.00093, allocations: 68.75 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.4344/0.4353, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02704/0.4624, allocations: 40.24 MB / 0.7584 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.4729, allocations: 8.198 MB / 0.7664 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.4746, allocations: 59.38 kB / 0.7664 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.4763, allocations: 0.5459 MB / 0.767 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.481, allocations: 1.607 MB / 0.7685 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.4839, allocations: 1.3 MB / 0.7698 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003632/0.4875, allocations: 2.611 MB / 0.7724 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.4886, allocations: 0.7311 MB / 0.7731 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.4916, allocations: 1.855 MB / 0.7749 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.4927, allocations: 0.7116 MB / 0.7756 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.4928, allocations: 89.38 kB / 0.7757 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4945, allocations: 0.7565 MB / 0.7764 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.4948, allocations: 281.4 kB / 0.7767 GB, free: 412 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.4952, allocations: 446.1 kB / 0.7771 GB, free: 144 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.4976, allocations: 1.814 MB / 0.7789 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4976, allocations: 1.25 kB / 0.7789 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4976, allocations: 0 / 0.7789 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.837e-05/0.4976, allocations: 0 / 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.001902/0.4995, allocations: 1.355 MB / 0.7802 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4995, allocations: 10.5 kB / 0.7802 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.4999, allocations: 142.6 kB / 0.7803 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5009, allocations: 0.7617 MB / 0.7811 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.501, allocations: 53.8 kB / 0.7811 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.501, allocations: 65.62 kB / 0.7812 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.5021, allocations: 0.9463 MB / 0.7821 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5021, allocations: 6.094 kB / 0.7821 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.5021, allocations: 27.03 kB / 0.7822 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.5022, allocations: 17.44 kB / 0.7822 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.5029, allocations: 0.5251 MB / 0.7827 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.5054, allocations: 2.939 MB / 0.7856 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.5059, allocations: 330.4 kB / 0.7859 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.5061, allocations: 194 kB / 0.7861 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.5064, allocations: 116.8 kB / 0.7862 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.5068, allocations: 375 kB / 0.7865 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 3.367e-06/0.5068, allocations: 0 / 0.7865 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.001023/0.5079, allocations: 0.6488 MB / 0.7872 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.5079, allocations: 111 kB / 0.7873 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/0.5087, allocations: 0.7498 MB / 0.788 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.5087, allocations: 38.92 kB / 0.788 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.509, allocations: 486 kB / 0.7885 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.5091, allocations: 149.5 kB / 0.7886 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.5092, allocations: 127 kB / 0.7888 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.5093, allocations: 326.9 kB / 0.7891 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.5095, allocations: 179.8 kB / 0.7892 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.51, allocations: 0.7392 MB / 0.79 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.5106, allocations: 0.5502 MB / 0.7905 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5106, allocations: 1.094 kB / 0.7905 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008549/0.5114, allocations: 0.6492 MB / 0.7911 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5114, allocations: 8.188 kB / 0.7911 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.5115, allocations: 13.75 kB / 0.7912 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5115, allocations: 7.75 kB / 0.7912 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.5118, allocations: 125.2 kB / 0.7913 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.5118, allocations: 12.72 kB / 0.7913 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.5121, allocations: 68.83 kB / 0.7914 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.5122, allocations: 43.44 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.0002829/0.5125, allocations: 262.9 kB / 0.7917 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.5126, allocations: 92.56 kB / 0.7917 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.5139, allocations: 1.113 MB / 0.7928 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5139, allocations: 16.14 kB / 0.7928 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5139, allocations: 1.188 kB / 0.7928 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5139, allocations: 3.984 kB / 0.7929 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.5158, allocations: 1.839 MB / 0.7946 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5158, allocations: 6.594 kB / 0.7947 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.516, allocations: 87.05 kB / 0.7947 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.516, allocations: 5.594 kB / 0.7947 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.516, allocations: 21.58 kB / 0.7948 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.516, allocations: 10.44 kB / 0.7948 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.516, allocations: 7.391 kB / 0.7948 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.5171, allocations: 1.022 MB / 0.7958 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.5173, allocations: 191.7 kB / 0.796 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.5174, allocations: 19.98 kB / 0.796 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.5176, allocations: 35.97 kB / 0.796 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.5177, allocations: 64.28 kB / 0.7961 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.5177, allocations: 27.98 kB / 0.7961 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004882/0.5182, allocations: 0.5068 MB / 0.7966 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5182, allocations: 0 / 0.7966 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009968/0.5192, allocations: 386.9 kB / 0.797 GB, free: 1.492 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.001265/0.5205, allocations: 0.8412 MB / 0.7978 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007962/0.5213, allocations: 0.5808 MB / 0.7984 GB, free: 328 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5213, allocations: 4.375 kB / 0.7984 GB, free: 324 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.5217, allocations: 370.7 kB / 0.7987 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.5225, allocations: 322.5 kB / 0.799 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.5246, allocations: 1.834 MB / 0.8008 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5249, allocations: 459.6 kB / 0.8012 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.5251, allocations: 104.4 kB / 0.8013 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/0.5251, allocations: 0 / 0.8013 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.01883/0.5439, allocations: 17.67 MB / 0.8186 GB, free: 11.62 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: 7.1285062960814685] Failed to read output from testmodel.py, exit status != 0: 0.5501089338213205 0.558653093 0.059140633000000005 Calling exit ...