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.001273/0.001273, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001412/0.001412, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002599/0.002599, allocations: 290.8 kB / 313.5 MB, free: 2.605 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.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 14.43 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.002703/0.002703, allocations: 100.2 kB / 0.7402 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1697, allocations: 95.38 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002252/0.1719, allocations: 1.275 MB / 0.8346 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003935/0.1759, allocations: 3.077 MB / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.1759, allocations: 0 / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.1759, allocations: 0 / 0.8376 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.176, allocations: 11.91 kB / 0.8376 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.1766, allocations: 107.5 kB / 0.8377 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1767, allocations: 35.86 kB / 0.8378 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.1768, allocations: 3.984 kB / 0.8378 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.1768, allocations: 19.92 kB / 0.8378 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.1769, allocations: 19.97 kB / 0.8378 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1769, allocations: 4 kB / 0.8378 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.1771, allocations: 59.83 kB / 0.8379 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1771, allocations: 15.92 kB / 0.8379 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.1772, allocations: 11.98 kB / 0.8379 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1774, allocations: 64.03 kB / 0.838 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1774, allocations: 7.938 kB / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1774, allocations: 0 / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1774, allocations: 0 / 0.838 GB, free: 3.633 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.0004691/0.1779, allocations: 274.3 kB / 0.8382 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1779, allocations: 9.938 kB / 0.8382 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.1779, allocations: 192 / 0.8382 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.178, allocations: 38.75 kB / 0.8383 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.178, allocations: 4.938 kB / 0.8383 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1782, allocations: 114.4 kB / 0.8384 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1782, allocations: 8.375 kB / 0.8384 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.1782, allocations: 16.11 kB / 0.8384 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.1784, allocations: 134.8 kB / 0.8385 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1784, allocations: 0 / 0.8385 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1784, allocations: 4 kB / 0.8385 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1785, allocations: 0 / 0.8385 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.1785, allocations: 19.92 kB / 0.8386 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.1787, allocations: 132.8 kB / 0.8387 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1788, allocations: 50.56 kB / 0.8387 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.1789, allocations: 20.78 kB / 0.8388 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.1794, allocations: 242.1 kB / 0.839 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1795, allocations: 42.5 kB / 0.839 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1795, allocations: 0 / 0.839 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005682/0.18, allocations: 221.2 kB / 0.8392 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1801, allocations: 55.41 kB / 0.8393 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.1802, allocations: 105.8 kB / 0.8394 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1802, allocations: 25.7 kB / 0.8394 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.1803, allocations: 84.09 kB / 0.8395 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1803, allocations: 31.73 kB / 0.8395 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1803, allocations: 25.72 kB / 0.8396 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1805, allocations: 318.8 kB / 0.8399 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.1805, allocations: 15.98 kB / 0.8399 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.1806, allocations: 61.02 kB / 0.8399 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1807, allocations: 77.03 kB / 0.84 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1807, allocations: 0 / 0.84 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001527/0.1808, allocations: 97.56 kB / 0.8401 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1808, allocations: 4 kB / 0.8401 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1808, allocations: 4 kB / 0.8401 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1809, allocations: 0 / 0.8401 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.1809, allocations: 23.98 kB / 0.8401 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.1809, allocations: 7.938 kB / 0.8401 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.181, allocations: 7.875 kB / 0.8401 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.181, allocations: 4 kB / 0.8401 GB, free: 1.105 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.467e-05/0.1811, allocations: 114.5 kB / 0.8403 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1811, allocations: 8.266 kB / 0.8403 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.1811, allocations: 12.12 kB / 0.8403 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1811, allocations: 3.984 kB / 0.8403 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1811, allocations: 7.938 kB / 0.8403 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1812, allocations: 0 / 0.8403 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1814, allocations: 144.8 kB / 0.8404 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1814, allocations: 0 / 0.8404 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.1815, allocations: 15.98 kB / 0.8404 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1815, allocations: 448 / 0.8404 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1815, allocations: 4 kB / 0.8404 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1815, allocations: 0 / 0.8404 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.1815, allocations: 11.88 kB / 0.8405 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1817, allocations: 171.5 kB / 0.8406 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1817, allocations: 4 kB / 0.8406 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1817, allocations: 0 / 0.8406 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1818, allocations: 12.03 kB / 0.8406 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.1818, allocations: 3.938 kB / 0.8406 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1818, allocations: 4 kB / 0.8406 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.1819, allocations: 83.27 kB / 0.8407 GB, free: 460 kB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1819, allocations: 0 / 0.8407 GB, free: 460 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002375/0.1821, allocations: 12 kB / 0.8407 GB, free: 448 kB / 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.0004873/0.1826, allocations: 0.7124 MB / 0.8414 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1827, allocations: 35.92 kB / 0.8415 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.1827, allocations: 4 kB / 0.8415 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.1827, allocations: 19.88 kB / 0.8415 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.183, allocations: 15.92 kB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1846, allocations: 1.526 MB / 0.843 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.1847, allocations: 75.34 kB / 0.8431 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.1848, allocations: 11.72 kB / 0.8431 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1848, allocations: 23.42 kB / 0.8431 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.1848, allocations: 0 / 0.8431 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.2072, allocations: 1.887 MB / 0.8449 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.86, allocations: 8.312 kB / 0.8449 GB, free: 12.13 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.043835788965225] Failed to read output from testmodel.py, exit status != 0: 11.015271298005246 11.033616541 10.852703303 Calling exit ...