Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 104.2 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 195.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 245.1 MB, free: 14.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 469.8 MB / 0.7491 GB, free: 2.977 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 1.073 GB, free: 152 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8212, allocations: 159.1 MB / 1.229 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002409/0.8236, allocations: 1.28 MB / 1.23 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004036/0.8277, allocations: 3.257 MB / 1.233 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.8277, allocations: 0 / 1.233 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.8278, allocations: 3.938 kB / 1.233 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.8278, allocations: 0 / 1.233 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.8283, allocations: 107.5 kB / 1.233 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.256e-05/0.8284, allocations: 31.91 kB / 1.233 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.8285, allocations: 4 kB / 1.233 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.8285, allocations: 23.92 kB / 1.233 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.8286, allocations: 23.91 kB / 1.233 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.8286, allocations: 0 / 1.233 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.8288, allocations: 75.86 kB / 1.233 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.8289, allocations: 7.984 kB / 1.233 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.8289, allocations: 15.88 kB / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.8291, allocations: 69.62 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8291, allocations: 0 / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8291, allocations: 0 / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8292, allocations: 0 / 1.233 GB, free: 15.91 MB / 0.9512 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.0004199/0.8296, allocations: 351.4 kB / 1.234 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8296, allocations: 12.03 kB / 1.234 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.8297, allocations: 34.75 kB / 1.234 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.8298, allocations: 4.938 kB / 1.234 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.8299, allocations: 172.3 kB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.8299, allocations: 8.312 kB / 1.234 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.8299, allocations: 4.375 kB / 1.234 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.8301, allocations: 57.61 kB / 1.234 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8301, allocations: 0 / 1.234 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.8301, allocations: 7.984 kB / 1.234 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8301, allocations: 0 / 1.234 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.8302, allocations: 19.98 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.8304, allocations: 169.6 kB / 1.234 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.766e-05/0.8305, allocations: 50.58 kB / 1.234 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.8305, allocations: 13.02 kB / 1.234 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/0.8313, allocations: 0.6063 MB / 1.235 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.8313, allocations: 30.56 kB / 1.235 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.8313, allocations: 0 / 1.235 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0005723/0.8319, allocations: 290.3 kB / 1.235 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.832, allocations: 63.34 kB / 1.235 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.832, allocations: 105.8 kB / 1.235 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.8321, allocations: 29.7 kB / 1.235 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.8321, allocations: 92.09 kB / 1.235 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.8322, allocations: 23.81 kB / 1.235 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.8322, allocations: 29.7 kB / 1.235 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8323, allocations: 310.8 kB / 1.236 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.8324, allocations: 15.98 kB / 1.236 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.8325, allocations: 53.14 kB / 1.236 GB, free: 13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.8326, allocations: 81.03 kB / 1.236 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.8326, allocations: 0 / 1.236 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001417/0.8327, allocations: 97.94 kB / 1.236 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.8327, allocations: 4 kB / 1.236 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8327, allocations: 4 kB / 1.236 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8328, allocations: 0 / 1.236 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.8328, allocations: 31.92 kB / 1.236 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8329, allocations: 0 / 1.236 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.8329, allocations: 11.94 kB / 1.236 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.8329, allocations: 4 kB / 1.236 GB, free: 12.74 MB / 0.9512 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 8.474e-05/0.833, allocations: 123.2 kB / 1.236 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.833, allocations: 4 kB / 1.236 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.8331, allocations: 11.95 kB / 1.236 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.8331, allocations: 288 / 1.236 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8331, allocations: 4 kB / 1.236 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.8331, allocations: 3.938 kB / 1.236 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.8334, allocations: 173.6 kB / 1.236 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8334, allocations: 0 / 1.236 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.8335, allocations: 12 kB / 1.236 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.8335, allocations: 4 kB / 1.236 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.8335, allocations: 4 kB / 1.236 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.8335, allocations: 7.984 kB / 1.236 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8335, allocations: 0 / 1.236 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.8337, allocations: 179.3 kB / 1.237 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.8338, allocations: 85.14 kB / 1.237 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.8338, allocations: 0 / 1.237 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.8339, allocations: 0 / 1.237 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.8339, allocations: 15.92 kB / 1.237 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.8339, allocations: 8 kB / 1.237 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.834, allocations: 75.28 kB / 1.237 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.834, allocations: 0 / 1.237 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002367/0.8342, allocations: 16 kB / 1.237 GB, free: 11.94 MB / 0.9512 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.0004928/0.8347, allocations: 0.7051 MB / 1.237 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.8349, allocations: 43.97 kB / 1.237 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8349, allocations: 4 kB / 1.237 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.8349, allocations: 15.98 kB / 1.238 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.8352, allocations: 11.88 kB / 1.238 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.8367, allocations: 1.524 MB / 1.239 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.837, allocations: 0.6846 MB / 1.24 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.427e-05/0.8371, allocations: 11.97 kB / 1.24 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.8372, allocations: 15.44 kB / 1.24 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.8372, allocations: 3.938 kB / 1.24 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.8639, allocations: 1.654 MB / 1.241 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/9.045, allocations: 14.98 kB / 1.241 GB, free: 7.164 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.976167389191687] Failed to read output from testmodel.py, exit status != 0: 9.111193984979764 9.125420473 8.293488389 Calling exit ...