Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.00136/0.00136, allocations: 114.5 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.001428/0.001428, allocations: 213 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 8 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.002442/0.002442, allocations: 283.2 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.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.002812/0.002812, allocations: 104.4 kB / 0.7396 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1824, allocations: 95.39 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003024/0.1854, allocations: 1.745 MB / 0.8344 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1871, allocations: 1.164 MB / 0.8356 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.1871, allocations: 4 kB / 0.8356 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.1875, allocations: 147.7 kB / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.1876, allocations: 63.61 kB / 0.8358 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.188, allocations: 167.5 kB / 0.8359 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1882, allocations: 107.4 kB / 0.836 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1882, allocations: 7.938 kB / 0.836 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.1883, allocations: 39.84 kB / 0.8361 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1884, allocations: 63.73 kB / 0.8361 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1884, allocations: 4 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.1888, allocations: 239.5 kB / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.1889, allocations: 55.8 kB / 0.8364 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.189, allocations: 67.55 kB / 0.8365 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1894, allocations: 310.8 kB / 0.8368 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1895, allocations: 4 kB / 0.8368 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1895, allocations: 0 / 0.8368 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1895, allocations: 0 / 0.8368 GB, free: 4.484 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007118/0.1902, allocations: 436.8 kB / 0.8372 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1902, allocations: 9.344 kB / 0.8372 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.1903, allocations: 34.75 kB / 0.8372 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1903, allocations: 20.8 kB / 0.8373 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1905, allocations: 161.6 kB / 0.8374 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1905, allocations: 4.375 kB / 0.8374 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1905, allocations: 4.375 kB / 0.8374 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1907, allocations: 85.59 kB / 0.8375 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1907, allocations: 3.938 kB / 0.8375 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1907, allocations: 3.984 kB / 0.8375 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1907, allocations: 0 / 0.8375 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.1909, allocations: 91.94 kB / 0.8376 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.1914, allocations: 351.9 kB / 0.8379 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1916, allocations: 94.53 kB / 0.838 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1917, allocations: 56.89 kB / 0.8381 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.1918, allocations: 23.94 kB / 0.8381 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1918, allocations: 38.5 kB / 0.8381 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1918, allocations: 0 / 0.8381 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004466/0.1923, allocations: 193.4 kB / 0.8383 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1923, allocations: 51.41 kB / 0.8384 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1926, allocations: 257.9 kB / 0.8386 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1927, allocations: 25.7 kB / 0.8387 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1928, allocations: 144.2 kB / 0.8388 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.1928, allocations: 7.891 kB / 0.8388 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.1928, allocations: 13.72 kB / 0.8388 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.193, allocations: 338.8 kB / 0.8391 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1931, allocations: 43.97 kB / 0.8392 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.1932, allocations: 55.84 kB / 0.8392 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.1934, allocations: 104.9 kB / 0.8393 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1934, allocations: 0 / 0.8393 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002708/0.1937, allocations: 149.5 kB / 0.8395 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1937, allocations: 6.031 kB / 0.8395 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1937, allocations: 0 / 0.8395 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1937, allocations: 0 / 0.8395 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.1938, allocations: 15.98 kB / 0.8395 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1938, allocations: 4.031 kB / 0.8395 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.1939, allocations: 7.984 kB / 0.8395 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1939, allocations: 0 / 0.8395 GB, free: 1.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 0.0001216/0.194, allocations: 142.4 kB / 0.8396 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.194, allocations: 19.86 kB / 0.8397 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.1943, allocations: 166.5 kB / 0.8398 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1944, allocations: 4 kB / 0.8398 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1944, allocations: 4 kB / 0.8398 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1944, allocations: 0 / 0.8398 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1946, allocations: 216.6 kB / 0.84 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1946, allocations: 0 / 0.84 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.1947, allocations: 8 kB / 0.84 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1947, allocations: 4 kB / 0.84 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1947, allocations: 0 / 0.84 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1947, allocations: 3.984 kB / 0.84 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1947, allocations: 0 / 0.84 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.195, allocations: 255.2 kB / 0.8403 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.195, allocations: 11.91 kB / 0.8403 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1951, allocations: 0 / 0.8403 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.1951, allocations: 11.92 kB / 0.8403 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1952, allocations: 8 kB / 0.8403 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1952, allocations: 0 / 0.8403 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001738/0.1954, allocations: 197.2 kB / 0.8405 GB, free: 416 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1954, allocations: 0 / 0.8405 GB, free: 416 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003223/0.1957, allocations: 75.69 kB / 0.8406 GB, free: 340 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0007829/0.1965, allocations: 0.8487 MB / 0.8414 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.1967, allocations: 95.94 kB / 0.8415 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1967, allocations: 0 / 0.8415 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1968, allocations: 55.95 kB / 0.8416 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.1973, allocations: 52.34 kB / 0.8416 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.1981, allocations: 459.9 kB / 0.842 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1984, allocations: 0.7314 MB / 0.8428 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.1985, allocations: 20.2 kB / 0.8428 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.1986, allocations: 47.42 kB / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.1986, allocations: 0 / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.2301, allocations: 4.701 MB / 0.8474 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.36, allocations: 11.98 kB / 0.8474 GB, free: 9.414 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.35772800199993] Failed to read output from testmodel.py, exit status != 0: 10.457989438000368 10.472955065 10.280605514 Calling exit ...