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.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.001534/0.001534, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001886/0.001886, allocations: 220.1 kB / 22.24 MB, free: 5.109 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.259/1.259, allocations: 203.8 MB / 0.5041 GB, free: 4.605 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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: 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.002101/0.002101, allocations: 63.91 kB / 0.7186 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.6649, allocations: 102 MB / 0.8182 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.06248/0.7274, allocations: 40.45 MB / 0.8577 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.7438, allocations: 8.184 MB / 0.8657 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.7463, allocations: 60.19 kB / 0.8658 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.7487, allocations: 0.542 MB / 0.8663 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007028/0.7557, allocations: 1.602 MB / 0.8679 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.7599, allocations: 1.209 MB / 0.8691 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005035/0.765, allocations: 2.695 MB / 0.8717 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.767, allocations: 0.7411 MB / 0.8724 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.7716, allocations: 1.529 MB / 0.8739 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.7818, allocations: 0.7078 MB / 0.8746 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005351/0.7824, allocations: 89.34 kB / 0.8747 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.7855, allocations: 0.7689 MB / 0.8754 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.7861, allocations: 269.3 kB / 0.8757 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.7875, allocations: 442.3 kB / 0.8761 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.7922, allocations: 1.727 MB / 0.8778 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7922, allocations: 1.344 kB / 0.8778 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7922, allocations: 0 / 0.8778 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.43e-05/0.7922, allocations: 0 / 0.8778 GB, free: 4.168 MB / 0.6544 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.003508/0.7957, allocations: 1.359 MB / 0.8791 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.7958, allocations: 10.12 kB / 0.8791 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.7963, allocations: 135.1 kB / 0.8793 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.798, allocations: 0.7576 MB / 0.88 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.7981, allocations: 50.59 kB / 0.8801 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.7982, allocations: 69.88 kB / 0.8801 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.7998, allocations: 0.9425 MB / 0.881 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.7998, allocations: 5.469 kB / 0.8811 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.7999, allocations: 28.53 kB / 0.8811 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.7999, allocations: 15.44 kB / 0.8811 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.801, allocations: 0.5178 MB / 0.8816 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.8054, allocations: 2.959 MB / 0.8845 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.8062, allocations: 319.2 kB / 0.8848 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.8066, allocations: 197.9 kB / 0.885 GB, free: 14.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/0.807, allocations: 116.2 kB / 0.8851 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.8078, allocations: 380.2 kB / 0.8855 GB, free: 14.25 MB / 0.67 GB Notification: Performance of pre-optimization done (n=41): time 3.045e-06/0.8078, allocations: 0 / 0.8855 GB, free: 14.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=41): time 0.001786/0.8095, allocations: 0.6485 MB / 0.8861 GB, free: 13.92 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.8096, allocations: 107.2 kB / 0.8862 GB, free: 13.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.8109, allocations: 0.7509 MB / 0.8869 GB, free: 13.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.811, allocations: 38.52 kB / 0.887 GB, free: 13.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.8116, allocations: 493.9 kB / 0.8874 GB, free: 12.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.8117, allocations: 141.4 kB / 0.8876 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.812, allocations: 130.8 kB / 0.8877 GB, free: 12.69 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.8122, allocations: 331.1 kB / 0.888 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.8126, allocations: 175.9 kB / 0.8882 GB, free: 12.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.8134, allocations: 0.7393 MB / 0.8889 GB, free: 11.51 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.8144, allocations: 0.5527 MB / 0.8894 GB, free: 11.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.8144, allocations: 1.125 kB / 0.8894 GB, free: 11.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001509/0.8159, allocations: 0.6528 MB / 0.8901 GB, free: 10.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.816, allocations: 9.969 kB / 0.8901 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.816, allocations: 6.156 kB / 0.8901 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.816, allocations: 8.031 kB / 0.8901 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.8165, allocations: 119.9 kB / 0.8902 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.8165, allocations: 16.58 kB / 0.8902 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.8172, allocations: 78.03 kB / 0.8903 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.8173, allocations: 38.7 kB / 0.8903 GB, free: 10.65 MB / 0.67 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.0005028/0.8178, allocations: 263.4 kB / 0.8906 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.818, allocations: 88.81 kB / 0.8907 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.8201, allocations: 1.125 MB / 0.8918 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.8202, allocations: 15.42 kB / 0.8918 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8202, allocations: 1.25 kB / 0.8918 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.8202, allocations: 3.984 kB / 0.8918 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.8235, allocations: 1.826 MB / 0.8936 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.8235, allocations: 4 kB / 0.8936 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.8238, allocations: 87.89 kB / 0.8937 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.8238, allocations: 4 kB / 0.8937 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.8239, allocations: 23.98 kB / 0.8937 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.8239, allocations: 11.92 kB / 0.8937 GB, free: 8.316 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.8239, allocations: 8.312 kB / 0.8937 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.8257, allocations: 1.024 MB / 0.8947 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.8261, allocations: 187 kB / 0.8949 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.8263, allocations: 20 kB / 0.8949 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.8267, allocations: 35.97 kB / 0.8949 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.8268, allocations: 60.28 kB / 0.895 GB, free: 6.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.8269, allocations: 35.98 kB / 0.895 GB, free: 6.898 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008034/0.8277, allocations: 0.5068 MB / 0.8955 GB, free: 6.395 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8277, allocations: 0 / 0.8955 GB, free: 6.395 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001512/0.8292, allocations: 390.8 kB / 0.8959 GB, free: 6.012 MB / 0.67 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.002688/0.8319, allocations: 0.8373 MB / 0.8967 GB, free: 5.422 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.8333, allocations: 0.5843 MB / 0.8973 GB, free: 4.844 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8333, allocations: 0 / 0.8973 GB, free: 4.844 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007044/0.834, allocations: 368.2 kB / 0.8976 GB, free: 4.484 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.8357, allocations: 324.8 kB / 0.898 GB, free: 4.188 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.8392, allocations: 1.789 MB / 0.8997 GB, free: 2.324 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.8398, allocations: 479.6 kB / 0.9002 GB, free: 1.82 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006997/0.8405, allocations: 170 kB / 0.9003 GB, free: 1.652 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.8407, allocations: 99.33 kB / 0.9004 GB, free: 1.555 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.8407, allocations: 0 / 0.9004 GB, free: 1.555 MB / 0.67 GB Notification: Performance of Templates: time 0.03636/0.8771, allocations: 19.69 MB / 0.9196 GB, free: 14.2 MB / 0.7012 GB " [Timeout remaining time 659] 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: 7.589949917048216] Failed to read output from testmodel.py, exit status != 0: 0.8877933993935585 0.904529664 0.10871390900000001 Calling exit ...