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.0007296/0.0007296, allocations: 100.4 kB / 19.71 MB, free: 444 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.000716/0.000716, allocations: 210.9 kB / 23 MB, free: 2.973 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.847/0.847, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7075/0.7075, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.0008595/0.0008595, allocations: 63.55 kB / 0.7194 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4676, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.02736/0.495, allocations: 40.46 MB / 0.8585 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007582/0.5026, allocations: 8.155 MB / 0.8665 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.503, allocations: 60.34 kB / 0.8665 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.5039, allocations: 0.5492 MB / 0.8671 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.5059, allocations: 1.602 MB / 0.8686 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.5072, allocations: 1.213 MB / 0.8698 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.5088, allocations: 2.693 MB / 0.8725 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006582/0.5094, allocations: 0.733 MB / 0.8732 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.511, allocations: 1.542 MB / 0.8747 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.5116, allocations: 0.7066 MB / 0.8754 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.045e-05/0.5117, allocations: 88.94 kB / 0.8754 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007959/0.5124, allocations: 0.7657 MB / 0.8762 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.5126, allocations: 261.3 kB / 0.8764 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.5129, allocations: 450.9 kB / 0.8769 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.5143, allocations: 1.725 MB / 0.8786 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5143, allocations: 1.094 kB / 0.8786 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5143, allocations: 0 / 0.8786 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.5143, allocations: 0 / 0.8786 GB, free: 6.312 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.001395/0.5157, allocations: 1.359 MB / 0.8799 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5157, allocations: 12.94 kB / 0.8799 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.5159, allocations: 139.6 kB / 0.88 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.5168, allocations: 0.7579 MB / 0.8808 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.5168, allocations: 53.62 kB / 0.8808 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.5169, allocations: 70.27 kB / 0.8809 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.5177, allocations: 0.9381 MB / 0.8818 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5177, allocations: 2.312 kB / 0.8818 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.5178, allocations: 31.44 kB / 0.8818 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.5178, allocations: 16.59 kB / 0.8819 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.5184, allocations: 0.5176 MB / 0.8824 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.5204, allocations: 2.955 MB / 0.8852 GB, free: 1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.5208, allocations: 320.1 kB / 0.8856 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.521, allocations: 195.4 kB / 0.8857 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.5212, allocations: 119.8 kB / 0.8859 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.5216, allocations: 379.8 kB / 0.8862 GB, free: 364 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.5216, allocations: 0 / 0.8862 GB, free: 364 kB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.0007956/0.5224, allocations: 0.646 MB / 0.8868 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5224, allocations: 110.8 kB / 0.887 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.523, allocations: 0.7472 MB / 0.8877 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.523, allocations: 37.7 kB / 0.8877 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.5232, allocations: 496.2 kB / 0.8882 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.5234, allocations: 138.8 kB / 0.8883 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5235, allocations: 126.3 kB / 0.8884 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.5236, allocations: 333.9 kB / 0.8888 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5238, allocations: 181.2 kB / 0.8889 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.5242, allocations: 0.7357 MB / 0.8897 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.5247, allocations: 0.5493 MB / 0.8902 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.5247, allocations: 4 kB / 0.8902 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006689/0.5254, allocations: 0.6443 MB / 0.8908 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5254, allocations: 8.75 kB / 0.8908 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5254, allocations: 4 kB / 0.8908 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5254, allocations: 12 kB / 0.8908 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5256, allocations: 127.7 kB / 0.891 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5256, allocations: 12 kB / 0.891 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.5259, allocations: 67.62 kB / 0.891 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.5259, allocations: 43.92 kB / 0.8911 GB, free: 11.05 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.0002096/0.5261, allocations: 265.5 kB / 0.8913 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.5262, allocations: 91.38 kB / 0.8914 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.5273, allocations: 1.128 MB / 0.8925 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5273, allocations: 15.98 kB / 0.8925 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5273, allocations: 4 kB / 0.8925 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5273, allocations: 3.984 kB / 0.8925 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.5288, allocations: 1.823 MB / 0.8943 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5289, allocations: 4.031 kB / 0.8943 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.529, allocations: 91.83 kB / 0.8944 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.529, allocations: 8 kB / 0.8944 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.529, allocations: 19.98 kB / 0.8944 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.529, allocations: 8 kB / 0.8945 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.529, allocations: 0 / 0.8945 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.53, allocations: 1.024 MB / 0.8955 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.5302, allocations: 199 kB / 0.8956 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.5302, allocations: 15.98 kB / 0.8957 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.5304, allocations: 35.97 kB / 0.8957 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.5305, allocations: 60.28 kB / 0.8958 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.5305, allocations: 35.98 kB / 0.8958 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003875/0.5309, allocations: 0.5029 MB / 0.8963 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.5309, allocations: 0 / 0.8963 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005713/0.5314, allocations: 390.8 kB / 0.8967 GB, free: 5.203 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.001072/0.5325, allocations: 0.839 MB / 0.8975 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006243/0.5331, allocations: 0.5849 MB / 0.898 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5331, allocations: 0 / 0.898 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.5335, allocations: 378.9 kB / 0.8984 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.5343, allocations: 312.5 kB / 0.8987 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.5359, allocations: 1.841 MB / 0.9005 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.5362, allocations: 463.6 kB / 0.9009 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5363, allocations: 95.39 kB / 0.901 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of SimCode: time 3.1e-07/0.5363, allocations: 0 / 0.901 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of Templates: time 0.01268/0.549, allocations: 17.67 MB / 0.9183 GB, free: 15.32 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.406223533675075] Failed to read output from testmodel.py, exit status != 0: 0.5541895739734173 0.5615403299999999 0.045564440000000005 Calling exit ...