Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.000686/0.000686, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008774/0.001563, 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.0007488/0.0007488, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001677, 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.9468/0.9468, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09904/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.001632/0.001632, allocations: 238.4 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.003162, allocations: 475.6 kB / 244.8 MB, free: 14.06 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.7/0.7, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07119/0.7712, allocations: 42.4 MB / 426.7 MB, free: 5.824 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.392e-05, allocations: 2.312 kB / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002097/0.002121, allocations: 1.817 MB / 429.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005597/0.002681, allocations: 0.5058 MB / 430.4 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.002706, allocations: 4 kB / 430.4 MB, free: 2.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.002928, allocations: 143.2 kB / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.00298, allocations: 51.62 kB / 430.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.003112, allocations: 59.78 kB / 430.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.003206, allocations: 107.4 kB / 430.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.003236, allocations: 7.938 kB / 430.7 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.003321, allocations: 60.81 kB / 430.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.003396, allocations: 47.81 kB / 430.8 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.003407, allocations: 4 kB / 430.8 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.003562, allocations: 87.72 kB / 430.9 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.003632, allocations: 63.84 kB / 431 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.003663, allocations: 31.88 kB / 431 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.003854, allocations: 155.4 kB / 431.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.003864, allocations: 0 / 431.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.003865, allocations: 0 / 431.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.003874, allocations: 0 / 431.2 MB, free: 1.344 MB / 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.0004441/0.004318, allocations: 411.3 kB / 431.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.004362, allocations: 11.98 kB / 431.6 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.0044, allocations: 12.92 kB / 431.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.004563, allocations: 164.9 kB / 431.8 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004576, allocations: 4.375 kB / 431.8 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004586, allocations: 4.375 kB / 431.8 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.004715, allocations: 61.7 kB / 431.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.004725, allocations: 192 / 431.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004735, allocations: 384 / 431.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.004746, allocations: 4.125 kB / 431.8 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.004772, allocations: 4 kB / 431.8 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.00509, allocations: 173.9 kB / 432 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.005164, allocations: 69.25 kB / 432.1 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.005182, allocations: 12.92 kB / 432.1 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.005234, allocations: 12.03 kB / 432.1 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.005259, allocations: 30.56 kB / 432.1 MB, free: 296 kB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.00526, allocations: 0 / 432.1 MB, free: 296 kB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.005413, allocations: 45.62 kB / 432.2 MB, free: 244 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.00545, allocations: 59.41 kB / 432.2 MB, free: 172 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1877/0.1932, allocations: 213.8 kB / 432.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1932, allocations: 27.83 kB / 432.5 MB, free: 2.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.1932, allocations: 105.2 kB / 432.6 MB, free: 2.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1932, allocations: 9.734 kB / 432.6 MB, free: 2.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1933, allocations: 17.14 kB / 432.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.1933, allocations: 331.4 kB / 432.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.1934, allocations: 4.328 kB / 432.9 MB, free: 1.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.1934, allocations: 4.547 kB / 432.9 MB, free: 1.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.1934, allocations: 16.42 kB / 432.9 MB, free: 1.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1934, allocations: 0 / 432.9 MB, free: 1.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.718e-05/0.1935, allocations: 43.95 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1935, allocations: 6.266 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1935, allocations: 1.828 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1935, allocations: 5.5 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.1936, allocations: 6.094 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1936, allocations: 3.203 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.1936, allocations: 4.594 kB / 433 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1936, allocations: 4.562 kB / 433 MB, free: 1.887 MB / 410.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 4.646e-05/0.1937, allocations: 117.3 kB / 433.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.1937, allocations: 9.766 kB / 433.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.1938, allocations: 55.16 kB / 433.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1938, allocations: 4.781 kB / 433.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1938, allocations: 0.9844 kB / 433.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1938, allocations: 1.875 kB / 433.2 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1939, allocations: 98.94 kB / 433.3 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1939, allocations: 0.6875 kB / 433.3 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.1939, allocations: 8.438 kB / 433.3 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.194, allocations: 15.2 kB / 433.3 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.194, allocations: 4.406 kB / 433.3 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.194, allocations: 3.938 kB / 433.3 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.194, allocations: 1.531 kB / 433.3 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.194, allocations: 0.6562 kB / 433.3 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.15e-05/0.194, allocations: 186.8 kB / 433.5 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.194, allocations: 0.75 kB / 433.5 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.1941, allocations: 7.344 kB / 433.5 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1941, allocations: 5.656 kB / 433.5 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1941, allocations: 4.125 kB / 433.5 MB, free: 1.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.1942, allocations: 76.48 kB / 433.6 MB, free: 1.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1942, allocations: 0.5 kB / 433.6 MB, free: 1.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.1944, allocations: 43.8 kB / 433.7 MB, free: 1.469 MB / 410.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 (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.0001795/0.1945, allocations: 109.5 kB / 433.8 MB, free: 17.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.1946, allocations: 18.38 kB / 433.8 MB, free: 17.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1946, allocations: 3.188 kB / 433.8 MB, free: 17.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.1946, allocations: 28.2 kB / 433.8 MB, free: 17.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.195, allocations: 369 kB / 434.2 MB, free: 17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.1958, allocations: 304.2 kB / 434.5 MB, free: 16.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.1959, allocations: 82.67 kB / 434.5 MB, free: 16.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.1959, allocations: 6.703 kB / 434.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.196, allocations: 68.48 kB / 434.6 MB, free: 16.71 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.196, allocations: 0.5469 kB / 434.6 MB, free: 16.71 MB / 426.7 MB Notification: Performance of Templates: time 0.003859/0.1999, allocations: 2.04 MB / 436.7 MB, free: 16.65 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.407308937050402]