Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001209/0.001209, 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.001364/0.001364, allocations: 223.8 kB / 23.03 MB, free: 4.949 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.002527/0.002527, allocations: 299.1 kB / 313.5 MB, free: 2.59 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.219/1.219, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.002849/0.002849, allocations: 99.47 kB / 0.7402 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1778, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002476/0.1803, allocations: 1.274 MB / 0.8346 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003681/0.1839, allocations: 2.769 MB / 0.8373 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.184, allocations: 0 / 0.8373 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.184, allocations: 0 / 0.8373 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.184, allocations: 7.922 kB / 0.8373 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.1845, allocations: 103.5 kB / 0.8374 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.1846, allocations: 31.86 kB / 0.8375 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.1846, allocations: 8 kB / 0.8375 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.1851, allocations: 191.7 kB / 0.8376 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.1852, allocations: 11.92 kB / 0.8377 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1852, allocations: 4 kB / 0.8377 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1853, allocations: 55.88 kB / 0.8377 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1853, allocations: 4 kB / 0.8377 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.1854, allocations: 19.92 kB / 0.8377 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1855, allocations: 67.73 kB / 0.8378 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1855, allocations: 0 / 0.8378 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1855, allocations: 0 / 0.8378 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1855, allocations: 4 kB / 0.8378 GB, free: 3.75 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.0004038/0.1859, allocations: 262.3 kB / 0.8381 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.186, allocations: 13.34 kB / 0.8381 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.183e-05/0.186, allocations: 192 / 0.8381 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.186, allocations: 42.67 kB / 0.8381 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1861, allocations: 4.938 kB / 0.8381 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.278e-05/0.1862, allocations: 114.5 kB / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.1862, allocations: 384 / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1862, allocations: 12.12 kB / 0.8382 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1864, allocations: 134.8 kB / 0.8384 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1864, allocations: 0 / 0.8384 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1864, allocations: 0 / 0.8384 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1864, allocations: 4 kB / 0.8384 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.1865, allocations: 19.91 kB / 0.8384 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1866, allocations: 136.7 kB / 0.8385 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.1867, allocations: 50.62 kB / 0.8386 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.1867, allocations: 24.78 kB / 0.8386 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/0.1873, allocations: 237.9 kB / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1873, allocations: 42.5 kB / 0.8389 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.1873, allocations: 4 kB / 0.8389 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.000519/0.1878, allocations: 229.3 kB / 0.8391 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.1878, allocations: 51.64 kB / 0.8391 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.1879, allocations: 105.8 kB / 0.8392 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1879, allocations: 25.7 kB / 0.8393 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.188, allocations: 92.08 kB / 0.8393 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.188, allocations: 27.73 kB / 0.8394 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1881, allocations: 25.72 kB / 0.8394 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1882, allocations: 322.8 kB / 0.8397 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.1882, allocations: 12 kB / 0.8397 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.1883, allocations: 57.08 kB / 0.8398 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.1884, allocations: 77.02 kB / 0.8398 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1884, allocations: 0 / 0.8398 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.1885, allocations: 93.78 kB / 0.8399 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1885, allocations: 8 kB / 0.8399 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1885, allocations: 4.125 kB / 0.8399 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1885, allocations: 0 / 0.8399 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.1886, allocations: 24 kB / 0.84 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1886, allocations: 7.922 kB / 0.84 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.1886, allocations: 4 kB / 0.84 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1887, allocations: 7.984 kB / 0.84 GB, free: 1.227 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.307e-05/0.1887, allocations: 118.4 kB / 0.8401 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1888, allocations: 0 / 0.8401 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.1888, allocations: 8.062 kB / 0.8401 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1888, allocations: 4 kB / 0.8401 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1888, allocations: 7.938 kB / 0.8401 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1888, allocations: 0 / 0.8401 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.189, allocations: 148.7 kB / 0.8403 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.189, allocations: 0 / 0.8403 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.1891, allocations: 12 kB / 0.8403 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1891, allocations: 4 kB / 0.8403 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1891, allocations: 0 / 0.8403 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1891, allocations: 0 / 0.8403 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1891, allocations: 3.938 kB / 0.8403 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1893, allocations: 179.4 kB / 0.8404 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.1893, allocations: 4.031 kB / 0.8405 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1893, allocations: 12 kB / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.1894, allocations: 256 / 0.8405 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.1895, allocations: 15.86 kB / 0.8405 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1895, allocations: 4 kB / 0.8405 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.1895, allocations: 83.28 kB / 0.8406 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1895, allocations: 0 / 0.8406 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002298/0.1897, allocations: 12 kB / 0.8406 GB, free: 0.5586 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.0004764/0.1902, allocations: 0.7046 MB / 0.8413 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1903, allocations: 39.97 kB / 0.8413 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1903, allocations: 0 / 0.8413 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/0.1904, allocations: 23.97 kB / 0.8413 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1906, allocations: 15.88 kB / 0.8413 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1921, allocations: 1.525 MB / 0.8428 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.1921, allocations: 71.28 kB / 0.8429 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.1922, allocations: 11.83 kB / 0.8429 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1922, allocations: 15.44 kB / 0.8429 GB, free: 14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.1922, allocations: 0 / 0.8429 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.215, allocations: 1.91 MB / 0.8448 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.8, allocations: 3.422 kB / 0.8448 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.01908291305881] Failed to read output from testmodel.py, exit status != 0: 10.968152527930215 10.992543659 10.802795002 Calling exit ...