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.0008308/0.0008308, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008941/0.0008941, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9321/0.9321, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7167/0.7167, allocations: 154.5 MB / 414.5 MB, free: 0.8516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6193 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.804e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02721/0.02724, allocations: 40.1 MB / 0.6584 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.03736, allocations: 8.197 MB / 0.6664 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.03843, allocations: 59.44 kB / 0.6665 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.03993, allocations: 0.5428 MB / 0.667 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.04302, allocations: 1.647 MB / 0.6686 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.04517, allocations: 1.295 MB / 0.6699 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.04711, allocations: 2.665 MB / 0.6725 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.04788, allocations: 0.7467 MB / 0.6732 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.05017, allocations: 1.834 MB / 0.675 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.0508, allocations: 0.6191 MB / 0.6756 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.0509, allocations: 91.94 kB / 0.6757 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.05217, allocations: 0.7793 MB / 0.6765 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.05239, allocations: 266.9 kB / 0.6767 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.05266, allocations: 367.1 kB / 0.6771 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.05425, allocations: 1.741 MB / 0.6788 GB, free: 128 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.05425, allocations: 0 / 0.6788 GB, free: 128 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.05425, allocations: 0 / 0.6788 GB, free: 128 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.05427, allocations: 0 / 0.6788 GB, free: 128 kB / 0.6355 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.3222/0.3765, allocations: 1.344 MB / 0.6801 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3766, allocations: 12.06 kB / 0.6801 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.3768, allocations: 138.5 kB / 0.6802 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.3776, allocations: 0.76 MB / 0.681 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3776, allocations: 53.44 kB / 0.681 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.3777, allocations: 64.41 kB / 0.6811 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.3784, allocations: 0.9435 MB / 0.682 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3785, allocations: 3.219 kB / 0.682 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.3785, allocations: 29.69 kB / 0.682 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3785, allocations: 17.5 kB / 0.682 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.379, allocations: 0.5186 MB / 0.6826 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3807, allocations: 2.939 MB / 0.6854 GB, free: 98.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.3811, allocations: 321 kB / 0.6857 GB, free: 97.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.3813, allocations: 192.1 kB / 0.6859 GB, free: 97.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.3815, allocations: 119.4 kB / 0.686 GB, free: 97.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.3818, allocations: 373.6 kB / 0.6864 GB, free: 97.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 3.126e-06/0.3818, allocations: 6.594 kB / 0.6864 GB, free: 97.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.0007598/0.3826, allocations: 0.6497 MB / 0.687 GB, free: 97.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3826, allocations: 108.5 kB / 0.6871 GB, free: 97.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.3831, allocations: 0.7525 MB / 0.6879 GB, free: 96.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3831, allocations: 38.98 kB / 0.6879 GB, free: 96.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3833, allocations: 487.8 kB / 0.6884 GB, free: 96.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.3833, allocations: 139 kB / 0.6885 GB, free: 96.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3834, allocations: 133.6 kB / 0.6886 GB, free: 96.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.3835, allocations: 330.2 kB / 0.6889 GB, free: 95.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3837, allocations: 180.1 kB / 0.6891 GB, free: 95.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.384, allocations: 0.7319 MB / 0.6898 GB, free: 95.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.3844, allocations: 0.5549 MB / 0.6904 GB, free: 94.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3844, allocations: 0 / 0.6904 GB, free: 94.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006251/0.385, allocations: 0.6425 MB / 0.691 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3851, allocations: 8.219 kB / 0.691 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3851, allocations: 5.594 kB / 0.691 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3851, allocations: 12.03 kB / 0.691 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3853, allocations: 124.9 kB / 0.6911 GB, free: 94.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3853, allocations: 16.38 kB / 0.6912 GB, free: 94.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3855, allocations: 76.05 kB / 0.6912 GB, free: 94.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.3856, allocations: 36.23 kB / 0.6913 GB, free: 94.51 MB / 0.6355 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.0001892/0.3858, allocations: 263.9 kB / 0.6915 GB, free: 94.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.3858, allocations: 88.89 kB / 0.6916 GB, free: 94.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3869, allocations: 1.122 MB / 0.6927 GB, free: 93.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.3869, allocations: 15.81 kB / 0.6927 GB, free: 93.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3869, allocations: 0 / 0.6927 GB, free: 93.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3869, allocations: 3.141 kB / 0.6927 GB, free: 93.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3883, allocations: 1.83 MB / 0.6945 GB, free: 92.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3883, allocations: 2.812 kB / 0.6945 GB, free: 92.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3885, allocations: 86.83 kB / 0.6946 GB, free: 92.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3885, allocations: 6.281 kB / 0.6946 GB, free: 92.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3885, allocations: 22.91 kB / 0.6946 GB, free: 92.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3885, allocations: 9.75 kB / 0.6946 GB, free: 92.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3885, allocations: 10 kB / 0.6946 GB, free: 92.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.3892, allocations: 1.015 MB / 0.6956 GB, free: 92.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.3894, allocations: 200 kB / 0.6958 GB, free: 92.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.3895, allocations: 16.34 kB / 0.6958 GB, free: 92.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3896, allocations: 31.44 kB / 0.6959 GB, free: 92.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.3897, allocations: 70.2 kB / 0.6959 GB, free: 92.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.3897, allocations: 34.31 kB / 0.696 GB, free: 92.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003402/0.3901, allocations: 0.5054 MB / 0.6965 GB, free: 92.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3901, allocations: 0 / 0.6965 GB, free: 92.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006403/0.3907, allocations: 379.8 kB / 0.6968 GB, free: 91.94 MB / 0.6355 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.001177/0.3919, allocations: 0.858 MB / 0.6977 GB, free: 91.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.3925, allocations: 0.5868 MB / 0.6982 GB, free: 91.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3925, allocations: 2.969 kB / 0.6982 GB, free: 91.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3928, allocations: 371.3 kB / 0.6986 GB, free: 91.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.3936, allocations: 321.8 kB / 0.6989 GB, free: 91.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3951, allocations: 1.804 MB / 0.7006 GB, free: 90.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3954, allocations: 470.5 kB / 0.7011 GB, free: 90.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3955, allocations: 96.69 kB / 0.7012 GB, free: 90.23 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.3955, allocations: 0 / 0.7012 GB, free: 90.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.01705/0.4125, allocations: 17.79 MB / 0.7186 GB, free: 87.73 MB / 0.6355 GB " [Timeout remaining time 660] 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: 8.06009104475379] Failed to read output from testmodel.py, exit status != 0: 0.4187681348994374 0.42826602899999994 0.37193762199999997 Calling exit ...