Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001539/0.001539, allocations: 78.53 kB / 19.01 MB, free: 2.691 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.00176/0.00176, allocations: 159 kB / 22.25 MB, free: 4.73 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.434/1.434, allocations: 177.2 MB / 202.6 MB, free: 9.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002473/0.002473, allocations: 231.6 kB / 259.2 MB, free: 0.5703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.036/1.036, allocations: 138.5 MB / 454.2 MB, free: 2.047 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003189/0.003189, allocations: 99.86 kB / 0.6466 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3847, allocations: 95.36 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002614/0.3873, allocations: 1.273 MB / 0.7409 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.3917, allocations: 3.073 MB / 0.7439 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.3918, allocations: 0 / 0.7439 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.3918, allocations: 7.938 kB / 0.7439 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.3918, allocations: 3.984 kB / 0.7439 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.3925, allocations: 111.5 kB / 0.744 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.864e-05/0.3925, allocations: 27.92 kB / 0.7441 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.3926, allocations: 7.984 kB / 0.7441 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.3927, allocations: 27.91 kB / 0.7441 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.3927, allocations: 11.98 kB / 0.7441 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3927, allocations: 4 kB / 0.7441 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.393, allocations: 67.75 kB / 0.7442 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.393, allocations: 11.92 kB / 0.7442 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.393, allocations: 12 kB / 0.7442 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3932, allocations: 69.2 kB / 0.7443 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3932, allocations: 0 / 0.7443 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3932, allocations: 3.938 kB / 0.7443 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3932, allocations: 0 / 0.7443 GB, free: 10.49 MB / 0.5762 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.000417/0.3936, allocations: 274.3 kB / 0.7445 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3937, allocations: 9.344 kB / 0.7446 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3938, allocations: 8.875 kB / 0.7446 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3939, allocations: 118.5 kB / 0.7447 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3939, allocations: 4.375 kB / 0.7447 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3939, allocations: 8.375 kB / 0.7447 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3941, allocations: 138.8 kB / 0.7448 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3941, allocations: 0 / 0.7448 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3942, allocations: 0 / 0.7448 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3942, allocations: 4 kB / 0.7448 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.3942, allocations: 15.98 kB / 0.7448 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.3944, allocations: 117.3 kB / 0.7449 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3945, allocations: 50.48 kB / 0.745 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3945, allocations: 12.86 kB / 0.745 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/0.3951, allocations: 257.8 kB / 0.7453 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3951, allocations: 34.56 kB / 0.7453 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3951, allocations: 0 / 0.7453 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005666/0.3957, allocations: 217.5 kB / 0.7455 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3957, allocations: 55.41 kB / 0.7455 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.3958, allocations: 101.8 kB / 0.7456 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3959, allocations: 25.7 kB / 0.7457 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.3959, allocations: 92.03 kB / 0.7458 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3959, allocations: 23.81 kB / 0.7458 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.396, allocations: 25.7 kB / 0.7458 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3961, allocations: 322.8 kB / 0.7461 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.3962, allocations: 19.92 kB / 0.7461 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.3962, allocations: 61.02 kB / 0.7462 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3963, allocations: 65.09 kB / 0.7463 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3963, allocations: 4 kB / 0.7463 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001528/0.3965, allocations: 101.6 kB / 0.7464 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3965, allocations: 6.188 kB / 0.7464 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3965, allocations: 4 kB / 0.7464 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3965, allocations: 0 / 0.7464 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3966, allocations: 23.92 kB / 0.7464 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3966, allocations: 4 kB / 0.7464 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.3966, allocations: 0 / 0.7464 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3967, allocations: 8 kB / 0.7464 GB, free: 8.051 MB / 0.5762 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 0.0001006/0.3968, allocations: 121.7 kB / 0.7465 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3968, allocations: 4 kB / 0.7465 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.3968, allocations: 20.11 kB / 0.7465 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3968, allocations: 448 / 0.7465 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3968, allocations: 0 / 0.7465 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3968, allocations: 4 kB / 0.7465 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.397, allocations: 121.2 kB / 0.7467 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.397, allocations: 0 / 0.7467 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.3971, allocations: 19.94 kB / 0.7467 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3971, allocations: 3.984 kB / 0.7467 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.3971, allocations: 288 / 0.7467 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3971, allocations: 0 / 0.7467 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3971, allocations: 0 / 0.7467 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3973, allocations: 183.4 kB / 0.7469 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.3974, allocations: 8.031 kB / 0.7469 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3974, allocations: 4 kB / 0.7469 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3975, allocations: 4 kB / 0.7469 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.3975, allocations: 3.984 kB / 0.7469 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3975, allocations: 7.938 kB / 0.7469 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.3976, allocations: 79.28 kB / 0.747 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.3976, allocations: 0 / 0.747 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000241/0.3978, allocations: 12 kB / 0.747 GB, free: 7.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000128/0.3979, allocations: 107.2 kB / 0.7471 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.3981, allocations: 39.86 kB / 0.7471 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3981, allocations: 3.938 kB / 0.7471 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.3981, allocations: 19.94 kB / 0.7471 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.3984, allocations: 4 kB / 0.7471 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.399, allocations: 335 kB / 0.7475 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.407e-05/0.3991, allocations: 71.33 kB / 0.7475 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.3991, allocations: 11.78 kB / 0.7475 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.3991, allocations: 12.5 kB / 0.7475 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.3991, allocations: 0 / 0.7475 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of Templates: time 0.003255/0.4024, allocations: 0.6155 MB / 0.7481 GB, free: 6.156 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.707364968955517] Failed to read output from testmodel.py, exit status != 0: 0.41105073504149914 0.425861754 0.029453044 Calling exit ...