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.0007831/0.0007831, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007681/0.0007681, allocations: 215.8 kB / 23 MB, free: 2.977 MB / 13.93 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.9181/0.9181, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.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.7568/0.7568, allocations: 203.5 MB / 0.5046 GB, free: 10.73 MB / 410.7 MB " [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.000923/0.000923, allocations: 68.64 kB / 0.719 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5129, allocations: 102 MB / 0.8186 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02971/0.5427, allocations: 40.45 MB / 0.8581 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009413/0.5521, allocations: 8.159 MB / 0.8661 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.5532, allocations: 60.66 kB / 0.8661 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5544, allocations: 0.5448 MB / 0.8667 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.5574, allocations: 1.602 MB / 0.8682 GB, free: 13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.5595, allocations: 1.211 MB / 0.8694 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002368/0.5619, allocations: 2.691 MB / 0.872 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.5628, allocations: 0.7448 MB / 0.8728 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.5651, allocations: 1.533 MB / 0.8743 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008955/0.566, allocations: 0.7043 MB / 0.8749 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.5661, allocations: 88.31 kB / 0.875 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.5676, allocations: 0.7619 MB / 0.8758 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.5677, allocations: 264.6 kB / 0.876 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.5681, allocations: 450.6 kB / 0.8765 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.5699, allocations: 1.722 MB / 0.8781 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5699, allocations: 3.938 kB / 0.8781 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5699, allocations: 5.031 kB / 0.8781 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.7e-05/0.57, allocations: 4 kB / 0.8781 GB, free: 6.559 MB / 0.6511 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.001673/0.5716, allocations: 1.358 MB / 0.8795 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5717, allocations: 8.656 kB / 0.8795 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.572, allocations: 139.4 kB / 0.8796 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/0.5729, allocations: 0.7535 MB / 0.8803 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.573, allocations: 53.69 kB / 0.8804 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.573, allocations: 70.19 kB / 0.8805 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.574, allocations: 0.9384 MB / 0.8814 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.574, allocations: 2.562 kB / 0.8814 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.5741, allocations: 35.86 kB / 0.8814 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5741, allocations: 15.28 kB / 0.8814 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.5748, allocations: 0.5177 MB / 0.8819 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.5772, allocations: 2.963 MB / 0.8848 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.5776, allocations: 324.2 kB / 0.8851 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.5779, allocations: 197.5 kB / 0.8853 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.5781, allocations: 119.8 kB / 0.8854 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.5785, allocations: 375.4 kB / 0.8858 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.5785, allocations: 0 / 0.8858 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.000894/0.5794, allocations: 0.647 MB / 0.8864 GB, free: 84 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.5794, allocations: 110.8 kB / 0.8865 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.58, allocations: 0.7511 MB / 0.8873 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.5801, allocations: 37.7 kB / 0.8873 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5803, allocations: 492.2 kB / 0.8878 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.5804, allocations: 138.8 kB / 0.8879 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.5805, allocations: 130.3 kB / 0.888 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.5806, allocations: 329.9 kB / 0.8884 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.5808, allocations: 177.2 kB / 0.8885 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.5812, allocations: 0.7364 MB / 0.8892 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.5817, allocations: 0.5505 MB / 0.8898 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5817, allocations: 0 / 0.8898 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007054/0.5824, allocations: 0.6561 MB / 0.8904 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5824, allocations: 8 kB / 0.8904 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.5824, allocations: 8 kB / 0.8904 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5825, allocations: 8 kB / 0.8904 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.5827, allocations: 119.8 kB / 0.8906 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5827, allocations: 12.55 kB / 0.8906 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.5829, allocations: 79.52 kB / 0.8906 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/0.583, allocations: 39.92 kB / 0.8907 GB, free: 11.43 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.0002261/0.5833, allocations: 261.6 kB / 0.8909 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.5834, allocations: 87.44 kB / 0.891 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.5845, allocations: 1.128 MB / 0.8921 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5845, allocations: 15.98 kB / 0.8921 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5845, allocations: 3.938 kB / 0.8921 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5845, allocations: 3.984 kB / 0.8921 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.5862, allocations: 1.823 MB / 0.8939 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5862, allocations: 4 kB / 0.8939 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.5864, allocations: 91.83 kB / 0.894 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5864, allocations: 4.375 kB / 0.894 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5864, allocations: 27.98 kB / 0.894 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.5864, allocations: 7.984 kB / 0.894 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.5864, allocations: 7.938 kB / 0.8941 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.5873, allocations: 1.02 MB / 0.8951 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.5874, allocations: 191 kB / 0.8952 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.5875, allocations: 16 kB / 0.8952 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.5877, allocations: 35.97 kB / 0.8953 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.5878, allocations: 60.34 kB / 0.8953 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.5878, allocations: 39.97 kB / 0.8954 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004057/0.5882, allocations: 0.5029 MB / 0.8959 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.5882, allocations: 0 / 0.8959 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000804/0.589, allocations: 390.8 kB / 0.8962 GB, free: 5.586 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.001249/0.5902, allocations: 0.8296 MB / 0.8971 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.5909, allocations: 0.5836 MB / 0.8976 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5909, allocations: 0 / 0.8976 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.5913, allocations: 376.8 kB / 0.898 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.5922, allocations: 323.5 kB / 0.8983 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.594, allocations: 1.826 MB / 0.9001 GB, free: 1.848 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5943, allocations: 463.6 kB / 0.9005 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.5944, allocations: 91.39 kB / 0.9006 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of SimCode: time 5.81e-07/0.5944, allocations: 7.938 kB / 0.9006 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of Templates: time 0.01381/0.6082, allocations: 17.67 MB / 0.9179 GB, free: 15.71 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.2068273378536105] Failed to read output from testmodel.py, exit status != 0: 0.6140673994086683 0.621813562 0.0502031 Calling exit ...