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.00148/0.00148, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001842/0.001842, allocations: 212.7 kB / 22.25 MB, free: 5.129 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.973 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.002683/0.002683, allocations: 286.1 kB / 312.7 MB, free: 2.801 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.262/1.262, allocations: 180.6 MB / 0.5369 GB, free: 12.94 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.004217/0.004217, allocations: 104.9 kB / 0.7396 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.203, allocations: 95.38 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002796/0.2058, allocations: 1.297 MB / 0.834 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005315/0.2111, allocations: 3.353 MB / 0.8372 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.2111, allocations: 0 / 0.8372 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.2112, allocations: 3.938 kB / 0.8372 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.2112, allocations: 7.969 kB / 0.8373 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.2119, allocations: 111.5 kB / 0.8374 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.733e-05/0.212, allocations: 31.92 kB / 0.8374 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.212, allocations: 8 kB / 0.8374 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.2121, allocations: 23.84 kB / 0.8374 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.2121, allocations: 15.98 kB / 0.8374 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2121, allocations: 0 / 0.8374 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.2124, allocations: 83.8 kB / 0.8375 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.2124, allocations: 15.92 kB / 0.8375 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2125, allocations: 15.92 kB / 0.8375 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2127, allocations: 64.14 kB / 0.8376 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2127, allocations: 0 / 0.8376 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2127, allocations: 3.938 kB / 0.8376 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2127, allocations: 0 / 0.8376 GB, free: 3.609 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.0004415/0.2131, allocations: 279.6 kB / 0.8379 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.2132, allocations: 9.344 kB / 0.8379 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.2132, allocations: 34.75 kB / 0.8379 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2133, allocations: 12.88 kB / 0.8379 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2134, allocations: 110.4 kB / 0.838 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2135, allocations: 4.375 kB / 0.838 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2135, allocations: 4.375 kB / 0.838 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.2136, allocations: 65.59 kB / 0.8381 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2136, allocations: 0 / 0.8381 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2137, allocations: 4 kB / 0.8381 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2137, allocations: 0 / 0.8381 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.2137, allocations: 19.98 kB / 0.8381 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.2139, allocations: 132.7 kB / 0.8383 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2141, allocations: 50.5 kB / 0.8383 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.2141, allocations: 16.84 kB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006785/0.2148, allocations: 250.1 kB / 0.8386 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2148, allocations: 38.55 kB / 0.8386 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2148, allocations: 0 / 0.8386 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.000589/0.2154, allocations: 217.2 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.2154, allocations: 63.34 kB / 0.8389 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2155, allocations: 101.8 kB / 0.839 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2155, allocations: 25.7 kB / 0.839 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.2156, allocations: 88.09 kB / 0.8391 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.2156, allocations: 31.73 kB / 0.8391 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.2157, allocations: 25.7 kB / 0.8391 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2158, allocations: 314.8 kB / 0.8394 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.2158, allocations: 15.94 kB / 0.8394 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-05/0.2159, allocations: 53.14 kB / 0.8395 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.216, allocations: 81.25 kB / 0.8396 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.216, allocations: 4 kB / 0.8396 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00015/0.2161, allocations: 97.5 kB / 0.8397 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2162, allocations: 4 kB / 0.8397 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2162, allocations: 4 kB / 0.8397 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2162, allocations: 0 / 0.8397 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.2163, allocations: 27.92 kB / 0.8397 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2163, allocations: 0 / 0.8397 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.2163, allocations: 7.938 kB / 0.8397 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2163, allocations: 8.125 kB / 0.8397 GB, free: 1.18 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 8.143e-05/0.2164, allocations: 114.4 kB / 0.8398 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2164, allocations: 7.938 kB / 0.8398 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2165, allocations: 8.062 kB / 0.8398 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2165, allocations: 0 / 0.8398 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2165, allocations: 4 kB / 0.8398 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2165, allocations: 3.938 kB / 0.8398 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.2167, allocations: 148.8 kB / 0.84 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2167, allocations: 0 / 0.84 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.2168, allocations: 19.98 kB / 0.84 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2168, allocations: 0 / 0.84 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.2168, allocations: 4 kB / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2168, allocations: 448 / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2168, allocations: 0 / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.217, allocations: 175.4 kB / 0.8402 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.217, allocations: 8 kB / 0.8402 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.2171, allocations: 4 kB / 0.8402 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2172, allocations: 12.03 kB / 0.8402 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.2172, allocations: 3.938 kB / 0.8402 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2172, allocations: 8 kB / 0.8402 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.2172, allocations: 79.27 kB / 0.8403 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2172, allocations: 3.938 kB / 0.8403 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002672/0.2175, allocations: 12 kB / 0.8403 GB, free: 0.5078 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.0005368/0.2181, allocations: 0.7124 MB / 0.841 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.2182, allocations: 40.48 kB / 0.841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2182, allocations: 0 / 0.841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.2182, allocations: 8.234 kB / 0.841 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2185, allocations: 17.33 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.001689/0.2202, allocations: 1.544 MB / 0.8426 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2205, allocations: 0.6885 MB / 0.8432 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.2206, allocations: 7.781 kB / 0.8432 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.2206, allocations: 19.42 kB / 0.8433 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.2206, allocations: 0 / 0.8433 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.251, allocations: 1.823 MB / 0.845 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.21, allocations: 7.422 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.429251590045169] Failed to read output from testmodel.py, exit status != 0: 11.313544413074851 11.330545237 11.114429421 Calling exit ...