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.001036/0.001036, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002408, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006999/0.0006999, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009419/0.001642, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9533/0.9533, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08994/1.043, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.002126/0.002126, allocations: 230.4 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.003805, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 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 0.6872/0.6872, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07376/0.761, allocations: 42.41 MB / 426.7 MB, free: 5.828 MB / 410.7 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.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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.217e-05, allocations: 2.312 kB / 428 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003307/0.003329, allocations: 1.833 MB / 429.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.004857, allocations: 1.129 MB / 431 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.00491, allocations: 0 / 431 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.005272, allocations: 135.3 kB / 431.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.515e-05/0.005357, allocations: 59.61 kB / 431.2 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.005711, allocations: 139.4 kB / 431.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.005866, allocations: 111.4 kB / 431.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.005908, allocations: 4 kB / 431.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.006036, allocations: 68.77 kB / 431.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.006141, allocations: 55.8 kB / 431.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.006158, allocations: 4 kB / 431.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.006545, allocations: 223.5 kB / 431.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.006628, allocations: 59.83 kB / 431.8 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.006685, allocations: 35.88 kB / 431.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.006961, allocations: 247.2 kB / 432.1 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.006971, allocations: 0 / 432.1 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.006972, allocations: 0 / 432.1 MB, free: 408 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.006981, allocations: 0 / 432.1 MB, free: 408 kB / 410.7 MB 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.1826/0.1896, allocations: 449.7 kB / 432.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1897, allocations: 11.7 kB / 432.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1897, allocations: 14.12 kB / 432.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1898, allocations: 157.8 kB / 432.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1898, allocations: 2.062 kB / 432.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1898, allocations: 1.719 kB / 432.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.19, allocations: 60.11 kB / 432.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.19, allocations: 3.094 kB / 432.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.19, allocations: 2.031 kB / 432.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.19, allocations: 5.938 kB / 432.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.19, allocations: 4.375 kB / 432.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.1903, allocations: 190.7 kB / 433 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.1903, allocations: 68.22 kB / 433.1 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.1903, allocations: 10.19 kB / 433.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.1904, allocations: 23.89 kB / 433.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.1904, allocations: 36.73 kB / 433.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1904, allocations: 1.781 kB / 433.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.1905, allocations: 50.19 kB / 433.2 MB, free: 1.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.695e-05/0.1905, allocations: 54.06 kB / 433.2 MB, free: 1.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1907, allocations: 223.8 kB / 433.5 MB, free: 17.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.1907, allocations: 26.52 kB / 433.5 MB, free: 17.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.1907, allocations: 106.6 kB / 433.6 MB, free: 17.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.1908, allocations: 7.172 kB / 433.6 MB, free: 17.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1908, allocations: 20.14 kB / 433.6 MB, free: 17.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.1909, allocations: 332.1 kB / 433.9 MB, free: 16.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.1909, allocations: 4.734 kB / 433.9 MB, free: 16.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-06/0.1909, allocations: 2.594 kB / 433.9 MB, free: 16.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.1909, allocations: 16.09 kB / 434 MB, free: 16.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1909, allocations: 0 / 434 MB, free: 16.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.752e-05/0.191, allocations: 46.61 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.191, allocations: 7.094 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.191, allocations: 2.75 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.191, allocations: 3.938 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.1911, allocations: 10.27 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1911, allocations: 0.8594 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.1911, allocations: 4.438 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1911, allocations: 4.188 kB / 434 MB, free: 16.77 MB / 426.7 MB 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 5.869e-05/0.1912, allocations: 115.2 kB / 434.2 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1912, allocations: 12.05 kB / 434.2 MB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1913, allocations: 67.28 kB / 434.2 MB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1913, allocations: 4.688 kB / 434.2 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.1913, allocations: 0.5625 kB / 434.2 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1913, allocations: 2.656 kB / 434.2 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1915, allocations: 101.4 kB / 434.3 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1915, allocations: 1.25 kB / 434.3 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.1915, allocations: 12.28 kB / 434.4 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.1915, allocations: 17.89 kB / 434.4 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1915, allocations: 1.109 kB / 434.4 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1915, allocations: 3 kB / 434.4 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1915, allocations: 4.781 kB / 434.4 MB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1915, allocations: 0.6562 kB / 434.4 MB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.1916, allocations: 191.2 kB / 434.6 MB, free: 16.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1916, allocations: 2.812 kB / 434.6 MB, free: 16.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.1917, allocations: 4.766 kB / 434.6 MB, free: 16.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.1917, allocations: 7.328 kB / 434.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1917, allocations: 1.219 kB / 434.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.309e-05/0.1918, allocations: 80.08 kB / 434.7 MB, free: 16.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1918, allocations: 1.219 kB / 434.7 MB, free: 16.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.1921, allocations: 74.34 kB / 434.7 MB, free: 16.34 MB / 426.7 MB 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.0002211/0.1923, allocations: 168.9 kB / 434.9 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.1923, allocations: 17.09 kB / 434.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1923, allocations: 4.531 kB / 434.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.1924, allocations: 38.73 kB / 435 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1928, allocations: 373.7 kB / 435.3 MB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1938, allocations: 311.4 kB / 435.6 MB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.1939, allocations: 82.59 kB / 435.7 MB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.772e-05/0.1939, allocations: 11.05 kB / 435.7 MB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.194, allocations: 67.23 kB / 435.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.194, allocations: 0 / 435.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Templates: time 0.005074/0.1991, allocations: 2.685 MB / 438.5 MB, free: 15.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4368513179942966]