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.001589/0.001589, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002129/0.002129, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 1.381/1.381, allocations: 203.5 MB / 0.5038 GB, free: 4.926 MB / 414.1 MB " [Timeout remaining time 178] 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.002134/0.002134, allocations: 71.88 kB / 0.7183 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6728, allocations: 102 MB / 0.8178 GB, free: 29.13 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05912/0.732, allocations: 40.46 MB / 0.8573 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.75, allocations: 8.164 MB / 0.8653 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.7524, allocations: 58.69 kB / 0.8654 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.7548, allocations: 0.5423 MB / 0.8659 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00731/0.7621, allocations: 1.6 MB / 0.8675 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.7671, allocations: 1.221 MB / 0.8687 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006152/0.7733, allocations: 2.686 MB / 0.8713 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.7754, allocations: 0.7382 MB / 0.872 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005317/0.7807, allocations: 1.536 MB / 0.8735 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.7828, allocations: 0.7175 MB / 0.8742 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.783, allocations: 88.56 kB / 0.8743 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.7864, allocations: 0.7574 MB / 0.875 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.7869, allocations: 269.2 kB / 0.8753 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.7879, allocations: 442.8 kB / 0.8757 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.7934, allocations: 1.727 MB / 0.8774 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7934, allocations: 0 / 0.8774 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7934, allocations: 0 / 0.8774 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.707e-05/0.7934, allocations: 1.312 kB / 0.8774 GB, free: 4.523 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.003776/0.7972, allocations: 1.363 MB / 0.8787 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.47e-05/0.7973, allocations: 10.06 kB / 0.8787 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.7981, allocations: 134.9 kB / 0.8789 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.8005, allocations: 0.7647 MB / 0.8796 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/0.8006, allocations: 51.34 kB / 0.8797 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.8007, allocations: 69.12 kB / 0.8797 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.8033, allocations: 0.9514 MB / 0.8807 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.8033, allocations: 0 / 0.8807 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8034, allocations: 28.75 kB / 0.8807 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.8034, allocations: 16.62 kB / 0.8807 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.8051, allocations: 0.5177 MB / 0.8812 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006831/0.8119, allocations: 2.948 MB / 0.8841 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.813, allocations: 320.9 kB / 0.8844 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.8135, allocations: 200 kB / 0.8846 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005131/0.8141, allocations: 111.7 kB / 0.8847 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008462/0.8149, allocations: 374.8 kB / 0.885 GB, free: 14.59 MB / 0.67 GB Notification: Performance of pre-optimization done (n=41): time 3.717e-06/0.8149, allocations: 1.5 kB / 0.885 GB, free: 14.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=41): time 0.002278/0.8172, allocations: 0.6554 MB / 0.8857 GB, free: 14.26 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.8173, allocations: 106.9 kB / 0.8858 GB, free: 14.14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.8188, allocations: 0.7456 MB / 0.8865 GB, free: 13.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.8189, allocations: 43.22 kB / 0.8866 GB, free: 13.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.8194, allocations: 494.2 kB / 0.887 GB, free: 13.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.8196, allocations: 142.4 kB / 0.8872 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.82, allocations: 125.7 kB / 0.8873 GB, free: 13.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8202, allocations: 335 kB / 0.8876 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.8207, allocations: 175.6 kB / 0.8878 GB, free: 12.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.8218, allocations: 0.7445 MB / 0.8885 GB, free: 11.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.8231, allocations: 0.541 MB / 0.889 GB, free: 11.44 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.8231, allocations: 1.469 kB / 0.889 GB, free: 11.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001926/0.825, allocations: 0.6528 MB / 0.8897 GB, free: 11.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.8251, allocations: 7.219 kB / 0.8897 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8251, allocations: 5.719 kB / 0.8897 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.8251, allocations: 8.938 kB / 0.8897 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.8258, allocations: 129.3 kB / 0.8898 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.8258, allocations: 11.58 kB / 0.8898 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.8267, allocations: 73.59 kB / 0.8899 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.8268, allocations: 38.89 kB / 0.8899 GB, free: 11 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.0006237/0.8274, allocations: 271.8 kB / 0.8902 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.8277, allocations: 88.03 kB / 0.8903 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.8304, allocations: 1.121 MB / 0.8914 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.8304, allocations: 15.84 kB / 0.8914 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8304, allocations: 1.5 kB / 0.8914 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8304, allocations: 3.984 kB / 0.8914 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.8336, allocations: 1.825 MB / 0.8932 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.8337, allocations: 0 / 0.8932 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.834, allocations: 91.83 kB / 0.8933 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.834, allocations: 8 kB / 0.8933 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.8341, allocations: 19.98 kB / 0.8933 GB, free: 8.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.8341, allocations: 8 kB / 0.8933 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8341, allocations: 384 / 0.8933 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.8357, allocations: 1.028 MB / 0.8943 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.8361, allocations: 191 kB / 0.8945 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8362, allocations: 16 kB / 0.8945 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.8366, allocations: 43.84 kB / 0.8945 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8368, allocations: 60.34 kB / 0.8946 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.8368, allocations: 35.98 kB / 0.8946 GB, free: 7.391 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000738/0.8376, allocations: 0.5068 MB / 0.8951 GB, free: 6.887 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8376, allocations: 0 / 0.8951 GB, free: 6.887 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001357/0.8389, allocations: 394.8 kB / 0.8955 GB, free: 6.5 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.002558/0.8415, allocations: 0.8323 MB / 0.8963 GB, free: 5.918 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.8428, allocations: 0.5843 MB / 0.8969 GB, free: 5.336 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8428, allocations: 0 / 0.8969 GB, free: 5.336 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.8435, allocations: 372.1 kB / 0.8972 GB, free: 4.973 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.8451, allocations: 323.9 kB / 0.8975 GB, free: 4.676 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.8485, allocations: 1.789 MB / 0.8993 GB, free: 2.812 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.8489, allocations: 471.6 kB / 0.8997 GB, free: 2.316 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005766/0.8495, allocations: 182 kB / 0.8999 GB, free: 2.137 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.8498, allocations: 99.33 kB / 0.9 GB, free: 2.039 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/0.8498, allocations: 0 / 0.9 GB, free: 2.039 MB / 0.67 GB Notification: Performance of Templates: time 0.03493/0.8847, allocations: 19.67 MB / 0.9192 GB, free: 14.73 MB / 0.7012 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.848427455872297] Failed to read output from testmodel.py, exit status != 0: 0.894895089790225 0.90870726 0.11209071200000001 Calling exit ...