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.0008985/0.0008985, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0009314/0.0009314, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8708/0.8708, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7656/0.7656, allocations: 203.8 MB / 0.5049 GB, free: 0.6992 MB / 410.7 MB " [Timeout remaining time 179] 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.0009085/0.0009085, allocations: 63.91 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5252, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03042/0.5557, allocations: 44.65 MB / 0.8627 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009984/0.5656, allocations: 8.727 MB / 0.8712 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.5666, allocations: 59.22 kB / 0.8713 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.5678, allocations: 0.5361 MB / 0.8718 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.5708, allocations: 1.642 MB / 0.8734 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.5727, allocations: 1.262 MB / 0.8746 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.5749, allocations: 2.705 MB / 0.8773 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.5756, allocations: 0.7451 MB / 0.878 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.5776, allocations: 1.535 MB / 0.8795 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.5782, allocations: 0.7496 MB / 0.8802 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.5783, allocations: 88.03 kB / 0.8803 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5798, allocations: 0.9796 MB / 0.8813 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.58, allocations: 272.5 kB / 0.8815 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.5804, allocations: 0.5367 MB / 0.882 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.582, allocations: 1.755 MB / 0.8837 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.582, allocations: 0 / 0.8837 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/0.582, allocations: 0 / 0.8837 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.582, allocations: 1.219 kB / 0.8838 GB, free: 11.09 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.001346/0.5834, allocations: 1.361 MB / 0.8851 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5834, allocations: 15.75 kB / 0.8851 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.5837, allocations: 134.2 kB / 0.8852 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.5846, allocations: 0.765 MB / 0.886 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.5846, allocations: 63.48 kB / 0.886 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.5847, allocations: 65.22 kB / 0.8861 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.5855, allocations: 0.79 MB / 0.8869 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5855, allocations: 5.281 kB / 0.8869 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.5855, allocations: 31.67 kB / 0.8869 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.5856, allocations: 17 kB / 0.8869 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/0.5862, allocations: 0.5106 MB / 0.8874 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.5889, allocations: 3.789 MB / 0.8911 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.5894, allocations: 321.2 kB / 0.8914 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.5896, allocations: 195.2 kB / 0.8916 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.5899, allocations: 119.2 kB / 0.8917 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.5903, allocations: 266.1 kB / 0.892 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 4.178e-06/0.5903, allocations: 7.984 kB / 0.892 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.0009749/0.5913, allocations: 0.6452 MB / 0.8926 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.5913, allocations: 107.4 kB / 0.8927 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008167/0.5922, allocations: 0.8505 MB / 0.8935 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.5922, allocations: 37.2 kB / 0.8936 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.5925, allocations: 478.6 kB / 0.894 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.5926, allocations: 145.4 kB / 0.8942 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5927, allocations: 126 kB / 0.8943 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.5928, allocations: 330.4 kB / 0.8946 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.593, allocations: 167.5 kB / 0.8948 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.5934, allocations: 394.4 kB / 0.8951 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.5939, allocations: 0.545 MB / 0.8957 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5939, allocations: 2.5 kB / 0.8957 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007609/0.5947, allocations: 0.6468 MB / 0.8963 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5947, allocations: 7.719 kB / 0.8963 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5947, allocations: 6.031 kB / 0.8963 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5947, allocations: 8.969 kB / 0.8963 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.595, allocations: 128.2 kB / 0.8965 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.595, allocations: 13.09 kB / 0.8965 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.5952, allocations: 84.83 kB / 0.8966 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.5953, allocations: 41.72 kB / 0.8966 GB, free: 1.312 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.0002355/0.5955, allocations: 260 kB / 0.8968 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.5956, allocations: 100.8 kB / 0.8969 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.5969, allocations: 1.119 MB / 0.898 GB, free: 476 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.5969, allocations: 15.42 kB / 0.898 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5969, allocations: 5 kB / 0.898 GB, free: 464 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5969, allocations: 7.922 kB / 0.8981 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.5988, allocations: 1.972 MB / 0.9 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5989, allocations: 7.156 kB / 0.9 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.599, allocations: 85.3 kB / 0.9001 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.599, allocations: 5.406 kB / 0.9001 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.5991, allocations: 22.08 kB / 0.9001 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.5991, allocations: 13.19 kB / 0.9001 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5991, allocations: 3.219 kB / 0.9001 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.6, allocations: 1.021 MB / 0.9011 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.6002, allocations: 203 kB / 0.9013 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.6003, allocations: 19.98 kB / 0.9013 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6005, allocations: 35.97 kB / 0.9014 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.6005, allocations: 60.28 kB / 0.9014 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.6006, allocations: 31.98 kB / 0.9014 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004609/0.601, allocations: 0.5784 MB / 0.902 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.601, allocations: 0 / 0.902 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007218/0.6018, allocations: 375 kB / 0.9024 GB, free: 13 MB / 0.6823 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 (69): * Single equations (assignments): 49 * 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.001166/0.6029, allocations: 0.8026 MB / 0.9031 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.6035, allocations: 0.5805 MB / 0.9037 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6036, allocations: 0 / 0.9037 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.6039, allocations: 368.1 kB / 0.9041 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.6048, allocations: 406.3 kB / 0.9045 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.6067, allocations: 1.833 MB / 0.9062 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.607, allocations: 1.05 MB / 0.9073 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6072, allocations: 103.3 kB / 0.9074 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.6072, allocations: 4 kB / 0.9074 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of Templates: time 0.01526/0.6224, allocations: 18.33 MB / 0.9253 GB, free: 5.797 MB / 0.698 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.968147880164906] Failed to read output from testmodel.py, exit status != 0: 0.6280072960071266 0.6350044810000001 0.051348573 Calling exit ...