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.001283/0.001283, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001353/0.001353, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002441/0.002441, allocations: 281.7 kB / 313.5 MB, free: 2.824 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.194/1.194, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="cs",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.002757/0.002757, allocations: 107.3 kB / 0.7403 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.165, allocations: 95.39 MB / 0.8335 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002387/0.1674, allocations: 1.293 MB / 0.8347 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.1721, allocations: 3.353 MB / 0.838 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.1721, allocations: 0 / 0.838 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.1721, allocations: 7.922 kB / 0.838 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.1722, allocations: 4 kB / 0.838 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1728, allocations: 111.5 kB / 0.8381 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.1729, allocations: 35.91 kB / 0.8382 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1729, allocations: 0 / 0.8382 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.173, allocations: 27.86 kB / 0.8382 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.173, allocations: 15.97 kB / 0.8382 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.173, allocations: 4 kB / 0.8382 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.1733, allocations: 79.81 kB / 0.8383 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.1733, allocations: 15.91 kB / 0.8383 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1733, allocations: 12 kB / 0.8383 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1735, allocations: 68.06 kB / 0.8384 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1735, allocations: 0 / 0.8384 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1735, allocations: 0 / 0.8384 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1735, allocations: 4 kB / 0.8384 GB, free: 3.613 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.0004043/0.1739, allocations: 270.2 kB / 0.8386 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.174, allocations: 13.34 kB / 0.8386 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.174, allocations: 192 / 0.8386 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.174, allocations: 38.73 kB / 0.8387 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.1741, allocations: 8.891 kB / 0.8387 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/0.1742, allocations: 114.4 kB / 0.8388 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1742, allocations: 4.375 kB / 0.8388 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1742, allocations: 12.12 kB / 0.8388 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1744, allocations: 49.67 kB / 0.8389 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1744, allocations: 0 / 0.8389 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1744, allocations: 8 kB / 0.8389 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1744, allocations: 4 kB / 0.8389 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.1745, allocations: 15.97 kB / 0.8389 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1746, allocations: 140.7 kB / 0.839 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.764e-05/0.1747, allocations: 54.5 kB / 0.8391 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.1748, allocations: 24.78 kB / 0.8391 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.1753, allocations: 229.9 kB / 0.8393 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.1753, allocations: 42.55 kB / 0.8394 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1753, allocations: 0 / 0.8394 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005446/0.1759, allocations: 225.5 kB / 0.8396 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1759, allocations: 55.34 kB / 0.8396 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.176, allocations: 101.8 kB / 0.8397 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.176, allocations: 33.64 kB / 0.8398 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.1761, allocations: 88.08 kB / 0.8398 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1761, allocations: 27.75 kB / 0.8399 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1761, allocations: 29.7 kB / 0.8399 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1762, allocations: 314.8 kB / 0.8402 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.1763, allocations: 19.92 kB / 0.8402 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.1763, allocations: 49.16 kB / 0.8403 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.1764, allocations: 81.25 kB / 0.8403 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1764, allocations: 4 kB / 0.8403 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001421/0.1766, allocations: 93.5 kB / 0.8404 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1766, allocations: 6.656 kB / 0.8404 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1766, allocations: 4 kB / 0.8404 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1766, allocations: 0 / 0.8404 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.1767, allocations: 28.05 kB / 0.8405 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1767, allocations: 11.94 kB / 0.8405 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.1767, allocations: 0 / 0.8405 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1767, allocations: 4 kB / 0.8405 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.559e-05/0.1768, allocations: 118.4 kB / 0.8406 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1769, allocations: 4 kB / 0.8406 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.1769, allocations: 8.062 kB / 0.8406 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1769, allocations: 0 / 0.8406 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1769, allocations: 3.938 kB / 0.8406 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1769, allocations: 3.984 kB / 0.8406 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1771, allocations: 149.2 kB / 0.8408 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1771, allocations: 3.984 kB / 0.8408 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.1772, allocations: 16 kB / 0.8408 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1772, allocations: 0 / 0.8408 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1772, allocations: 0 / 0.8408 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1772, allocations: 0 / 0.8408 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1772, allocations: 7.938 kB / 0.8408 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1774, allocations: 175.4 kB / 0.841 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.1775, allocations: 8 kB / 0.841 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1775, allocations: 8.031 kB / 0.841 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1776, allocations: 0 / 0.841 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1776, allocations: 7.938 kB / 0.841 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1776, allocations: 7.984 kB / 0.841 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.1776, allocations: 75.28 kB / 0.8411 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1776, allocations: 3.938 kB / 0.8411 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002361/0.1779, allocations: 16 kB / 0.8411 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.000498/0.1784, allocations: 0.7084 MB / 0.8418 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1785, allocations: 40.47 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1785, allocations: 4 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.1785, allocations: 15.98 kB / 0.8418 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.0002932/0.1788, allocations: 16.19 kB / 0.8418 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1804, allocations: 1.54 MB / 0.8433 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.1808, allocations: 0.6807 MB / 0.844 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.1809, allocations: 15.77 kB / 0.844 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.1809, allocations: 15.44 kB / 0.844 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.1809, allocations: 0 / 0.844 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.2052, allocations: 1.851 MB / 0.8458 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.62, allocations: 7.734 kB / 0.8459 GB, free: 11.61 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: 14.684935296012554] Failed to read output from testmodel.py, exit status != 0: 10.788556137005799 10.814440608 10.636187317 Calling exit ...