Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.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.001891/0.001891, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00199/0.00199, allocations: 209.3 kB / 23 MB, free: 4.934 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.178/3.178, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Buildings 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.002072/0.002072, allocations: 67.27 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2919, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002368/0.2943, allocations: 1.275 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.2982, allocations: 3.079 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.2982, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.2982, allocations: 11.86 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.2983, allocations: 7.922 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.2988, allocations: 107.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.2988, allocations: 31.91 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.2989, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.2989, allocations: 23.86 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.299, allocations: 19.97 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.299, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2992, allocations: 67.83 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2992, allocations: 7.922 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.2992, allocations: 15.98 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.2994, allocations: 63.81 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2994, allocations: 4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2994, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2994, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003989/0.2998, allocations: 270.2 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2999, allocations: 12.03 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.2999, allocations: 8.875 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3, allocations: 110.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3001, allocations: 4.375 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3001, allocations: 4.359 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3003, allocations: 146.9 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3003, allocations: 7.938 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3003, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3003, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.3003, allocations: 19.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3005, allocations: 105.3 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3006, allocations: 54.48 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.3006, allocations: 16.86 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.3012, allocations: 246.1 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3012, allocations: 30.56 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3012, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005616/0.3018, allocations: 237 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3018, allocations: 51.41 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.3019, allocations: 97.86 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3019, allocations: 25.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.3019, allocations: 96.08 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.302, allocations: 27.75 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.302, allocations: 25.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3022, allocations: 318.8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.3022, allocations: 15.98 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.3022, allocations: 57.52 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.3024, allocations: 73.09 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3024, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001499/0.3025, allocations: 97.55 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3025, allocations: 15.88 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3025, allocations: 128 / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3025, allocations: 8 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.3026, allocations: 19.98 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3026, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.3027, allocations: 4 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3027, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.291e-05/0.3028, allocations: 122.2 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3028, allocations: 4.234 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.3028, allocations: 12.06 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3028, allocations: 7.969 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3028, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.3029, allocations: 8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3029, allocations: 7.938 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.303, allocations: 0 / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.303, allocations: 7.984 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001851/0.3032, allocations: 149 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002279/0.3034, allocations: 250.8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.431e-05/0.3035, allocations: 16.03 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.3035, allocations: 83.22 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3035, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.3039, allocations: 138.2 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007361/0.3047, allocations: 0.7717 MB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of Templates: time 0.003788/0.3085, allocations: 1.111 MB / 1.336 GB, free: 7.125 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.53355881600146] Failed to read output from testmodel.py, exit status != 0: 0.31568054699891945 0.330474148 0.028023811000000003 Calling exit ...