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.00168/0.00168, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003065/0.003065, allocations: 211.7 kB / 22.25 MB, free: 5.086 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.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.002702/0.002702, allocations: 282.9 kB / 312.7 MB, free: 2.82 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.244/1.244, allocations: 180.6 MB / 0.5369 GB, free: 13.1 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.004525/0.004525, allocations: 110.5 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.216, allocations: 95.38 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002757/0.2187, allocations: 1.295 MB / 0.834 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.2232, allocations: 3.353 MB / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.2232, allocations: 0 / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.2233, allocations: 3.984 kB / 0.8372 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.2233, allocations: 7.922 kB / 0.8373 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.2238, allocations: 107.5 kB / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.2239, allocations: 35.86 kB / 0.8374 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.2239, allocations: 0 / 0.8374 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.224, allocations: 27.91 kB / 0.8374 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.2241, allocations: 15.98 kB / 0.8374 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2241, allocations: 4 kB / 0.8374 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.2243, allocations: 83.78 kB / 0.8375 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.2243, allocations: 7.938 kB / 0.8375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.2243, allocations: 19.92 kB / 0.8375 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.2245, allocations: 68.08 kB / 0.8376 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2245, allocations: 0 / 0.8376 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2245, allocations: 0 / 0.8376 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2245, allocations: 0 / 0.8376 GB, free: 3.621 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.0003847/0.2249, allocations: 274.2 kB / 0.8379 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2249, allocations: 9.344 kB / 0.8379 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.225, allocations: 42.73 kB / 0.8379 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.2251, allocations: 8.891 kB / 0.8379 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.2252, allocations: 110.5 kB / 0.838 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2252, allocations: 4.375 kB / 0.838 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.2253, allocations: 8.375 kB / 0.838 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2254, allocations: 61.53 kB / 0.8381 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2254, allocations: 3.938 kB / 0.8381 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2254, allocations: 4 kB / 0.8381 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.2254, allocations: 0 / 0.8381 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.2255, allocations: 23.97 kB / 0.8381 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.2257, allocations: 132.8 kB / 0.8383 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.2258, allocations: 46.56 kB / 0.8383 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.2258, allocations: 12.84 kB / 0.8383 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.2263, allocations: 262 kB / 0.8386 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2264, allocations: 30.56 kB / 0.8386 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2264, allocations: 0 / 0.8386 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.00057/0.2269, allocations: 229.2 kB / 0.8388 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.227, allocations: 51.41 kB / 0.8389 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.227, allocations: 101.8 kB / 0.839 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2271, allocations: 33.69 kB / 0.839 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.2271, allocations: 88.09 kB / 0.8391 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2271, allocations: 23.75 kB / 0.8391 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2272, allocations: 29.7 kB / 0.8391 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2273, allocations: 314.8 kB / 0.8394 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.2273, allocations: 19.92 kB / 0.8394 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.2274, allocations: 57.08 kB / 0.8395 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2275, allocations: 73.09 kB / 0.8396 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2275, allocations: 0 / 0.8396 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.2277, allocations: 97.5 kB / 0.8397 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2277, allocations: 8 kB / 0.8397 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2277, allocations: 0 / 0.8397 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2277, allocations: 4 kB / 0.8397 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.2278, allocations: 19.98 kB / 0.8397 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2278, allocations: 3.938 kB / 0.8397 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.2278, allocations: 11.94 kB / 0.8397 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2278, allocations: 4 kB / 0.8397 GB, free: 1.188 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 9.427e-05/0.2279, allocations: 118.6 kB / 0.8398 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.228, allocations: 0 / 0.8398 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.228, allocations: 12.06 kB / 0.8398 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.228, allocations: 448 / 0.8398 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.228, allocations: 3.984 kB / 0.8398 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.228, allocations: 3.938 kB / 0.8398 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2283, allocations: 148.8 kB / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2283, allocations: 0 / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.2284, allocations: 16 kB / 0.84 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2284, allocations: 4 kB / 0.84 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2284, allocations: 7.938 kB / 0.84 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2284, allocations: 3.938 kB / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2284, allocations: 0 / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.2286, allocations: 171.4 kB / 0.8402 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.2286, allocations: 8.031 kB / 0.8402 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2286, allocations: 4 kB / 0.8402 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2287, allocations: 4.375 kB / 0.8402 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.2287, allocations: 15.92 kB / 0.8402 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2287, allocations: 3.938 kB / 0.8402 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.2288, allocations: 83.27 kB / 0.8403 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2288, allocations: 0 / 0.8403 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002408/0.229, allocations: 12 kB / 0.8403 GB, free: 0.5117 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.0006052/0.2296, allocations: 0.7124 MB / 0.841 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2298, allocations: 35.97 kB / 0.841 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2298, allocations: 0 / 0.841 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.2298, allocations: 23.92 kB / 0.8411 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2301, allocations: 10.34 kB / 0.8411 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2317, allocations: 1.533 MB / 0.8426 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.232, allocations: 0.6807 MB / 0.8432 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.966e-05/0.2321, allocations: 15.77 kB / 0.8432 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.2321, allocations: 15.44 kB / 0.8433 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.2321, allocations: 0 / 0.8433 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.2602, allocations: 1.834 MB / 0.8451 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.92, allocations: 3.672 kB / 0.8451 GB, free: 11.62 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.272377641002095] Failed to read output from testmodel.py, exit status != 0: 11.023064021002938 11.041274229 10.811913533 Calling exit ...