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.001372/0.001372, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001371/0.001371, allocations: 157.2 kB / 23.01 MB, free: 4.961 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.351/1.351, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.002387/0.002387, allocations: 238.2 kB / 260 MB, free: 444 kB / 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 0.894/0.894, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.004673/0.004673, allocations: 99.84 kB / 0.6473 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4054, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001909/0.4073, allocations: 1.275 MB / 0.7417 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.4101, allocations: 3.09 MB / 0.7447 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.4101, allocations: 0 / 0.7447 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.4102, allocations: 1.031 kB / 0.7447 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.4102, allocations: 14.3 kB / 0.7447 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.4106, allocations: 102.5 kB / 0.7448 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.4107, allocations: 38.89 kB / 0.7448 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.038e-05/0.4107, allocations: 2.391 kB / 0.7448 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.4108, allocations: 20.48 kB / 0.7449 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.4108, allocations: 13.59 kB / 0.7449 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.4108, allocations: 2.812 kB / 0.7449 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.411, allocations: 66.88 kB / 0.7449 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.411, allocations: 12.56 kB / 0.7449 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.4111, allocations: 15.36 kB / 0.745 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.4112, allocations: 67.95 kB / 0.745 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4112, allocations: 0 / 0.745 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4112, allocations: 0 / 0.745 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4112, allocations: 1.281 kB / 0.745 GB, free: 14.24 MB / 0.5919 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.0002863/0.4115, allocations: 274.3 kB / 0.7453 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4115, allocations: 10.59 kB / 0.7453 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.4116, allocations: 7.984 kB / 0.7453 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.364e-05/0.4117, allocations: 112.3 kB / 0.7454 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4117, allocations: 2.781 kB / 0.7454 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4117, allocations: 8.188 kB / 0.7454 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.4118, allocations: 137.5 kB / 0.7456 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4118, allocations: 1.75 kB / 0.7456 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.4118, allocations: 0.75 kB / 0.7456 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4118, allocations: 1.844 kB / 0.7456 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.4119, allocations: 17.86 kB / 0.7456 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.412, allocations: 118.4 kB / 0.7457 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.4121, allocations: 44.92 kB / 0.7457 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.4121, allocations: 15.72 kB / 0.7457 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.4125, allocations: 255.3 kB / 0.746 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.4125, allocations: 33.31 kB / 0.746 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4126, allocations: 0 / 0.746 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004344/0.413, allocations: 218.8 kB / 0.7462 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.413, allocations: 53.67 kB / 0.7463 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.858e-05/0.413, allocations: 99.62 kB / 0.7464 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.4131, allocations: 27.08 kB / 0.7464 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.4131, allocations: 98 kB / 0.7465 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4131, allocations: 29.05 kB / 0.7465 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.4131, allocations: 23.98 kB / 0.7465 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.4132, allocations: 322.5 kB / 0.7469 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.4132, allocations: 14.36 kB / 0.7469 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4132, allocations: 53.94 kB / 0.7469 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.4133, allocations: 73.33 kB / 0.747 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4133, allocations: 1.375 kB / 0.747 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001136/0.4134, allocations: 102.2 kB / 0.7471 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.4134, allocations: 6.156 kB / 0.7471 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4134, allocations: 1.375 kB / 0.7471 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4134, allocations: 1.375 kB / 0.7471 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.4135, allocations: 22.92 kB / 0.7471 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4135, allocations: 3.547 kB / 0.7471 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.4135, allocations: 1.375 kB / 0.7471 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4135, allocations: 8.125 kB / 0.7471 GB, free: 12.23 MB / 0.5919 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 4.184e-05/0.4136, allocations: 127 kB / 0.7472 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4136, allocations: 2.75 kB / 0.7473 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.4136, allocations: 8.922 kB / 0.7473 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4136, allocations: 1.375 kB / 0.7473 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4136, allocations: 1.375 kB / 0.7473 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4136, allocations: 0.75 kB / 0.7473 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.4138, allocations: 120.7 kB / 0.7474 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4138, allocations: 0.6562 kB / 0.7474 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.4139, allocations: 20.8 kB / 0.7474 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4139, allocations: 0 / 0.7474 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4139, allocations: 5.312 kB / 0.7474 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4139, allocations: 8.078 kB / 0.7474 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4139, allocations: 5.359 kB / 0.7474 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.414, allocations: 180.7 kB / 0.7476 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.4141, allocations: 4.859 kB / 0.7476 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.4141, allocations: 5.375 kB / 0.7476 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4142, allocations: 2.781 kB / 0.7476 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.4142, allocations: 5.188 kB / 0.7476 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4142, allocations: 1.375 kB / 0.7476 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.4142, allocations: 83.58 kB / 0.7477 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4142, allocations: 0 / 0.7477 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002315/0.4144, allocations: 11 kB / 0.7477 GB, free: 11.71 MB / 0.5919 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 8.509e-05/0.4145, allocations: 108.8 kB / 0.7478 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4146, allocations: 40.39 kB / 0.7478 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4146, allocations: 1.125 kB / 0.7478 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.4147, allocations: 15.66 kB / 0.7479 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4149, allocations: 4.125 kB / 0.7479 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.4153, allocations: 346.8 kB / 0.7482 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.4154, allocations: 66.2 kB / 0.7483 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.4154, allocations: 13.41 kB / 0.7483 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.4154, allocations: 12.09 kB / 0.7483 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.4154, allocations: 0 / 0.7483 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.002863/0.4183, allocations: 0.6252 MB / 0.7489 GB, free: 11.11 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.554696060018614] Failed to read output from testmodel.py, exit status != 0: 0.427701189997606 0.43589988599999996 0.022279349 Calling exit ...