Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.0007916/0.0007916, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001928, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.05/1.05, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2106/1.261, allocations: 53.66 MB / 242 MB, free: 2.598 MB / 234.7 MB " [Timeout remaining time 179] 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.0009659/0.0009659, allocations: 156.6 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001802/0.002768, allocations: 487.5 kB / 243.4 MB, free: 1.258 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02586/0.02586, allocations: 6.652 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007725/0.03359, allocations: 2.664 MB / 253.5 MB, free: 7.398 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 254.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.238e-05, allocations: 2.312 kB / 254.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002403/0.002436, allocations: 1.351 MB / 256.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.004206, allocations: 1.205 MB / 257.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.004259, allocations: 7.938 kB / 257.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.004628, allocations: 71.64 kB / 257.4 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.005787, allocations: 406.1 kB / 257.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.781e-06/0.005793, allocations: 4 kB / 257.8 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.006987, allocations: 1.05 MB / 258.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.007054, allocations: 0 / 258.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.007134, allocations: 27.92 kB / 258.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.007177, allocations: 19.97 kB / 258.9 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.00719, allocations: 0 / 258.9 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.007407, allocations: 47.86 kB / 258.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.00747, allocations: 23.92 kB / 258.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.00749, allocations: 4 kB / 259 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.007692, allocations: 83.67 kB / 259 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.007705, allocations: 0 / 259 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.007707, allocations: 0 / 259 MB, free: 1.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.007721, allocations: 0 / 259 MB, free: 1.805 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004075/0.008128, allocations: 288.1 kB / 259.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.008171, allocations: 12.03 kB / 259.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.00844, allocations: 193.2 kB / 259.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.008861, allocations: 325.2 kB / 259.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.008907, allocations: 150.9 kB / 260 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.008951, allocations: 150.9 kB / 260.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.496e-05/0.009016, allocations: 109.5 kB / 260.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.009036, allocations: 75.47 kB / 260.3 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.009074, allocations: 154.9 kB / 260.5 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.009113, allocations: 158.5 kB / 260.6 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.009166, allocations: 150.6 kB / 260.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.009354, allocations: 353.3 kB / 261.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.009429, allocations: 173.1 kB / 261.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.009452, allocations: 80.14 kB / 261.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.009474, allocations: 79.27 kB / 261.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.009514, allocations: 113.8 kB / 261.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.009516, allocations: 0 / 261.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.383e-05/0.00958, allocations: 29.7 kB / 261.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.00963, allocations: 130.7 kB / 261.7 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.009743, allocations: 151.3 kB / 261.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.009752, allocations: 33.64 kB / 261.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.009781, allocations: 92.11 kB / 262 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-06/0.009782, allocations: 0 / 262 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.009801, allocations: 13.72 kB / 262 MB, free: 14.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.009886, allocations: 322.8 kB / 262.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.009897, allocations: 0 / 262.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-06/0.009901, allocations: 0 / 262.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.009924, allocations: 79.28 kB / 262.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.009945, allocations: 75.28 kB / 262.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.203e-05/0.009987, allocations: 29.7 kB / 262.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.01003, allocations: 86.25 kB / 262.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.01005, allocations: 87.2 kB / 262.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.609e-05/0.01011, allocations: 154.6 kB / 262.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.01013, allocations: 75.28 kB / 262.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.367e-05/0.01017, allocations: 158.5 kB / 263 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.01022, allocations: 79.42 kB / 263.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.01025, allocations: 87.23 kB / 263.2 MB, free: 13.46 MB / 266.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 (0): * Single equations (assignments): 0 * 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.000117/0.01037, allocations: 271.2 kB / 263.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.01042, allocations: 109 kB / 263.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.01047, allocations: 121.2 kB / 263.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.01052, allocations: 188.2 kB / 263.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-05/0.01056, allocations: 176.3 kB / 264 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/0.01061, allocations: 184.2 kB / 264.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.01075, allocations: 329.4 kB / 264.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/0.01078, allocations: 104.9 kB / 264.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.01089, allocations: 109 kB / 264.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.01093, allocations: 108.9 kB / 264.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-05/0.01098, allocations: 184.2 kB / 265 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.01102, allocations: 176.3 kB / 265.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.192e-05/0.01106, allocations: 180.2 kB / 265.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.705e-05/0.01111, allocations: 180.3 kB / 265.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.01123, allocations: 315.7 kB / 265.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.01129, allocations: 180.3 kB / 266 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.01134, allocations: 108.9 kB / 266.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.0114, allocations: 188.2 kB / 266.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.01142, allocations: 101 kB / 266.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.01147, allocations: 38.41 kB / 266.5 MB, free: 10 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01147, allocations: 0 / 266.5 MB, free: 10 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001336/0.0116, allocations: 4 kB / 266.5 MB, free: 9.996 MB / 266.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 (0): * Single equations (assignments): 0 * 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.0001522/0.01176, allocations: 159.7 kB / 266.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.876e-05/0.0118, allocations: 320 / 266.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01181, allocations: 4 kB / 266.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-06/0.01181, allocations: 0 / 266.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.01216, allocations: 0.5727 MB / 267.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.01301, allocations: 250.1 kB / 267.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.01305, allocations: 63.34 kB / 267.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.01308, allocations: 3.984 kB / 267.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.01315, allocations: 63.36 kB / 267.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01315, allocations: 0 / 267.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of Templates: time 0.002402/0.01555, allocations: 0.5922 MB / 268.2 MB, free: 8.227 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9279276644811034]