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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 108.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 286.7 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.278/1.278, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 106.6 kB / 0.7247 GB, free: 40.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1838, allocations: 94.16 MB / 0.8167 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003439/0.1873, allocations: 1.707 MB / 0.8184 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.1882, allocations: 482 kB / 0.8188 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.1882, allocations: 4 kB / 0.8188 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.1886, allocations: 143.5 kB / 0.819 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.1887, allocations: 55.67 kB / 0.819 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.189, allocations: 55.86 kB / 0.8191 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1892, allocations: 107.4 kB / 0.8192 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.1893, allocations: 7.984 kB / 0.8192 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.1893, allocations: 31.86 kB / 0.8192 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1894, allocations: 59.73 kB / 0.8193 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1895, allocations: 4 kB / 0.8193 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1897, allocations: 79.84 kB / 0.8194 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.1897, allocations: 63.8 kB / 0.8194 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.1898, allocations: 59.56 kB / 0.8195 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1901, allocations: 187.5 kB / 0.8196 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1901, allocations: 3.938 kB / 0.8197 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1901, allocations: 4 kB / 0.8197 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1901, allocations: 0 / 0.8197 GB, free: 2.379 MB / 0.5606 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.0007213/0.1909, allocations: 494.1 kB / 0.8201 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1909, allocations: 8.031 kB / 0.8201 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.191, allocations: 34.69 kB / 0.8202 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.191, allocations: 16.84 kB / 0.8202 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1912, allocations: 223.9 kB / 0.8204 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1912, allocations: 384 / 0.8204 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.1912, allocations: 384 / 0.8204 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1914, allocations: 61.98 kB / 0.8205 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1914, allocations: 0 / 0.8205 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1914, allocations: 0 / 0.8205 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1914, allocations: 0 / 0.8205 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1916, allocations: 43.95 kB / 0.8205 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.1921, allocations: 324.8 kB / 0.8208 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1923, allocations: 42.56 kB / 0.8209 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.1924, allocations: 24.89 kB / 0.8209 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.1924, allocations: 8 kB / 0.8209 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1925, allocations: 30.56 kB / 0.8209 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.817e-06/0.1925, allocations: 4 kB / 0.8209 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003958/0.1929, allocations: 109.5 kB / 0.821 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1929, allocations: 51.41 kB / 0.8211 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1932, allocations: 258.7 kB / 0.8213 GB, free: 492 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1932, allocations: 25.7 kB / 0.8213 GB, free: 460 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1933, allocations: 136.1 kB / 0.8215 GB, free: 320 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1933, allocations: 12.02 kB / 0.8215 GB, free: 308 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1934, allocations: 17.66 kB / 0.8215 GB, free: 284 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1935, allocations: 334.8 kB / 0.8218 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.1936, allocations: 19.98 kB / 0.8218 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.1937, allocations: 15.98 kB / 0.8219 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1939, allocations: 56.81 kB / 0.8219 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1939, allocations: 0 / 0.8219 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002529/0.1941, allocations: 89.5 kB / 0.822 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1942, allocations: 7.938 kB / 0.822 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1942, allocations: 0 / 0.822 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1942, allocations: 0 / 0.822 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.1943, allocations: 11.98 kB / 0.822 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.1943, allocations: 0 / 0.822 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.1944, allocations: 12.02 kB / 0.822 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1944, allocations: 0 / 0.822 GB, free: 15.72 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.0001423/0.1945, allocations: 137.8 kB / 0.8222 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1946, allocations: 19.86 kB / 0.8222 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.1948, allocations: 102.4 kB / 0.8223 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1948, allocations: 0 / 0.8223 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1948, allocations: 4.031 kB / 0.8223 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1948, allocations: 0 / 0.8223 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.1951, allocations: 213.6 kB / 0.8225 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1951, allocations: 0 / 0.8225 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.1952, allocations: 11.98 kB / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1952, allocations: 3.984 kB / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1952, allocations: 0 / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1952, allocations: 0 / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1952, allocations: 0 / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1955, allocations: 195.3 kB / 0.8227 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.1956, allocations: 89.02 kB / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1956, allocations: 0 / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.1957, allocations: 7.984 kB / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1957, allocations: 3.938 kB / 0.8228 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1957, allocations: 0 / 0.8228 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001863/0.1959, allocations: 193.9 kB / 0.823 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1959, allocations: 4.031 kB / 0.823 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002978/0.1962, allocations: 31.94 kB / 0.823 GB, free: 14.63 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.0007804/0.197, allocations: 0.7434 MB / 0.8237 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1972, allocations: 48 kB / 0.8238 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1972, allocations: 3.938 kB / 0.8238 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.1973, allocations: 23.97 kB / 0.8238 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.1979, allocations: 41.58 kB / 0.8238 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.1988, allocations: 403.4 kB / 0.8242 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1992, allocations: 0.7314 MB / 0.8249 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.84e-05/0.1993, allocations: 15.69 kB / 0.8249 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.573e-05/0.1994, allocations: 51.36 kB / 0.825 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of SimCode: time 1.884e-06/0.1994, allocations: 0 / 0.825 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.2299, allocations: 3.966 MB / 0.8289 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.36, allocations: 13 kB / 0.8289 GB, free: 8.699 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 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: 12.732393368147314] Failed to read output from testmodel.py, exit status != 0: 8.432433635927737 8.453937677 8.260573363 Calling exit ...