Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001194/0.001194, 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.001334/0.001334, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.363/1.363, 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.002395/0.002395, allocations: 274.9 kB / 312.7 MB, free: 2.828 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.164/1.164, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.002766/0.002766, allocations: 106.3 kB / 0.7396 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.182, allocations: 95.39 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00315/0.1852, allocations: 1.747 MB / 0.8344 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.1861, allocations: 478.1 kB / 0.8349 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.1861, allocations: 4 kB / 0.8349 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.1865, allocations: 143.8 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.1866, allocations: 55.73 kB / 0.8351 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1868, allocations: 63.8 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.187, allocations: 103.4 kB / 0.8352 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.187, allocations: 7.938 kB / 0.8352 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.1871, allocations: 43.77 kB / 0.8353 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.1872, allocations: 51.77 kB / 0.8353 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1872, allocations: 0 / 0.8353 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1874, allocations: 91.83 kB / 0.8354 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.1875, allocations: 59.78 kB / 0.8355 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.1876, allocations: 63.56 kB / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1878, allocations: 187.2 kB / 0.8357 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1878, allocations: 3.984 kB / 0.8357 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1878, allocations: 0 / 0.8357 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1878, allocations: 0 / 0.8357 GB, free: 5.59 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.0006027/0.1884, allocations: 409 kB / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1885, allocations: 9.344 kB / 0.8361 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.1885, allocations: 30.75 kB / 0.8361 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1886, allocations: 24.78 kB / 0.8362 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1887, allocations: 153.7 kB / 0.8363 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1887, allocations: 8.312 kB / 0.8363 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1887, allocations: 8.375 kB / 0.8363 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1889, allocations: 61.95 kB / 0.8364 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1889, allocations: 4 kB / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1889, allocations: 4 kB / 0.8364 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1889, allocations: 0 / 0.8364 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1891, allocations: 35.97 kB / 0.8364 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.1896, allocations: 291.9 kB / 0.8367 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1897, allocations: 46.48 kB / 0.8368 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.1898, allocations: 24.91 kB / 0.8368 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.1898, allocations: 4 kB / 0.8368 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1898, allocations: 34.56 kB / 0.8368 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1898, allocations: 0 / 0.8368 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.1902, allocations: 113.5 kB / 0.8369 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1902, allocations: 55.34 kB / 0.837 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1905, allocations: 257.9 kB / 0.8372 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1905, allocations: 25.83 kB / 0.8373 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.1906, allocations: 136.1 kB / 0.8374 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1906, allocations: 7.938 kB / 0.8374 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1907, allocations: 17.66 kB / 0.8374 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.1909, allocations: 330.8 kB / 0.8377 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.1909, allocations: 19.98 kB / 0.8377 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.191, allocations: 23.97 kB / 0.8378 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.1912, allocations: 48.83 kB / 0.8378 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1912, allocations: 3.938 kB / 0.8378 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002016/0.1914, allocations: 89.52 kB / 0.8379 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1914, allocations: 4 kB / 0.8379 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1914, allocations: 7.938 kB / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1914, allocations: 0 / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.1915, allocations: 12.02 kB / 0.8379 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1915, allocations: 0 / 0.8379 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.1916, allocations: 11.98 kB / 0.8379 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1916, allocations: 0 / 0.8379 GB, free: 3.129 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.0001105/0.1917, allocations: 138.4 kB / 0.8381 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1917, allocations: 19.91 kB / 0.8381 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.192, allocations: 94.61 kB / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.192, allocations: 0 / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.192, allocations: 0 / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.192, allocations: 0 / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1922, allocations: 184.6 kB / 0.8384 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1922, allocations: 0 / 0.8384 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.1922, allocations: 11.92 kB / 0.8384 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1922, allocations: 4 kB / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1922, allocations: 0 / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1922, allocations: 0 / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1922, allocations: 4.031 kB / 0.8384 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1925, allocations: 187.3 kB / 0.8385 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.1925, allocations: 15.86 kB / 0.8386 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1925, allocations: 3.984 kB / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.1926, allocations: 8 kB / 0.8386 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1927, allocations: 12.02 kB / 0.8386 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1927, allocations: 0 / 0.8386 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001673/0.1928, allocations: 185.2 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1928, allocations: 0 / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000258/0.1931, allocations: 35.94 kB / 0.8388 GB, free: 2.168 MB / 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 (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 Backend phase and start with SimCode phase: time 0.0006353/0.1937, allocations: 0.7512 MB / 0.8395 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.194, allocations: 43.95 kB / 0.8396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.194, allocations: 0 / 0.8396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.194, allocations: 27.92 kB / 0.8396 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1945, allocations: 44.55 kB / 0.8396 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.1953, allocations: 388.1 kB / 0.84 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1956, allocations: 0.7353 MB / 0.8407 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.1957, allocations: 11.92 kB / 0.8407 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1957, allocations: 51.42 kB / 0.8408 GB, free: 36 kB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1957, allocations: 0 / 0.8408 GB, free: 36 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.2264, allocations: 4.057 MB / 0.8448 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.35, allocations: 14.67 kB / 0.8448 GB, free: 12.14 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_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_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.385364064997702] Failed to read output from testmodel.py, exit status != 0: 10.451430236000306 10.4770428 10.284599032 Calling exit ...