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.0008798/0.0008798, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.9529/0.9529, allocations: 177.2 MB / 200.3 MB, free: 5.355 MB / 186.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.002208/0.002208, allocations: 167.1 kB / 257 MB, free: 12.8 MB / 250.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.03283/0.03283, allocations: 6.653 MB / 266.9 MB, free: 3.043 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.353e-06/1.353e-06, allocations: 0 / 285.6 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.253e-05, allocations: 6.312 kB / 285.6 MB, free: 332 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.1108/0.1108, allocations: 1.276 MB / 286.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1122, allocations: 1.2 MB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.1123, allocations: 1.219 kB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.1127, allocations: 79.5 kB / 288.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.1136, allocations: 430.3 kB / 288.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.1136, allocations: 0.75 kB / 288.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.1148, allocations: 1.067 MB / 289.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1148, allocations: 7.781 kB / 289.7 MB, free: 20.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.1149, allocations: 16.5 kB / 289.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.1149, allocations: 9.062 kB / 289.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1149, allocations: 1.406 kB / 289.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1151, allocations: 47.23 kB / 289.8 MB, free: 20.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.1151, allocations: 17.97 kB / 289.8 MB, free: 20.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1151, allocations: 10.05 kB / 289.8 MB, free: 20.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1153, allocations: 86.88 kB / 289.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1153, allocations: 0 / 289.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1153, allocations: 1.625 kB / 289.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1153, allocations: 0.9375 kB / 289.9 MB, free: 20.7 MB / 266.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.0002169/0.1155, allocations: 288.8 kB / 290.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1155, allocations: 9.188 kB / 290.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.1157, allocations: 110.9 kB / 290.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.116, allocations: 307.1 kB / 290.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.116, allocations: 156.6 kB / 290.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.116, allocations: 152.1 kB / 290.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.163e-05/0.116, allocations: 109.9 kB / 291 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.116, allocations: 76.59 kB / 291.1 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1161, allocations: 151.6 kB / 291.2 MB, free: 19.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1161, allocations: 155.5 kB / 291.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.1161, allocations: 158.3 kB / 291.5 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.77e-05/0.1162, allocations: 353.6 kB / 291.9 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.1162, allocations: 170.3 kB / 292 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-06/0.1162, allocations: 81.27 kB / 292.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.1162, allocations: 75.94 kB / 292.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.1163, allocations: 113.8 kB / 292.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1163, allocations: 0 / 292.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.462e-05/0.1163, allocations: 31.16 kB / 292.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1163, allocations: 132.7 kB / 292.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.1164, allocations: 153.5 kB / 292.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-06/0.1164, allocations: 26.86 kB / 292.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/0.1164, allocations: 92.59 kB / 292.7 MB, free: 17.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-07/0.1164, allocations: 0 / 292.7 MB, free: 17.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.1165, allocations: 12.55 kB / 292.7 MB, free: 17.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.1165, allocations: 324.5 kB / 293 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-06/0.1165, allocations: 1.844 kB / 293 MB, free: 17.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-06/0.1165, allocations: 3.5 kB / 293.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-06/0.1165, allocations: 76.34 kB / 293.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1165, allocations: 76.03 kB / 293.2 MB, free: 17.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.161e-05/0.1165, allocations: 36.92 kB / 293.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1166, allocations: 81.41 kB / 293.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1166, allocations: 81.38 kB / 293.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1166, allocations: 155.8 kB / 293.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.135e-05/0.1166, allocations: 81.02 kB / 293.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1166, allocations: 152.9 kB / 293.8 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.1166, allocations: 81.22 kB / 293.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1166, allocations: 84.62 kB / 293.9 MB, free: 16.73 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 4.545e-05/0.1167, allocations: 261.4 kB / 294.2 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1167, allocations: 111.2 kB / 294.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.1167, allocations: 119.6 kB / 294.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.1168, allocations: 178.1 kB / 294.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.1168, allocations: 182.2 kB / 294.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.1168, allocations: 178.3 kB / 294.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.635e-05/0.1169, allocations: 335.2 kB / 295.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.1169, allocations: 109.2 kB / 295.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.1169, allocations: 110.5 kB / 295.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/0.1169, allocations: 186.9 kB / 295.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1169, allocations: 179.2 kB / 295.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/0.1169, allocations: 178 kB / 296 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/0.1169, allocations: 181.9 kB / 296.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.961e-05/0.117, allocations: 318.8 kB / 296.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.117, allocations: 112.8 kB / 296.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.117, allocations: 180 kB / 296.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.1171, allocations: 106.8 kB / 296.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.1171, allocations: 177.3 kB / 297.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1171, allocations: 107.8 kB / 297.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.1171, allocations: 39.75 kB / 297.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1171, allocations: 1.156 kB / 297.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001284/0.1173, allocations: 3.906 kB / 297.2 MB, free: 13.37 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 9.391e-05/0.1174, allocations: 156.6 kB / 297.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.903e-05/0.1174, allocations: 4.75 kB / 297.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1174, allocations: 1.438 kB / 297.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.1174, allocations: 1.438 kB / 297.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.1176, allocations: 471.9 kB / 297.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.1179, allocations: 241.2 kB / 298.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.118, allocations: 66.58 kB / 298.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.118, allocations: 5.906 kB / 298.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.118, allocations: 57.3 kB / 298.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.118, allocations: 4 kB / 298.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of Templates: time 0.002269/0.1203, allocations: 0.5504 MB / 298.8 MB, free: 12.36 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.5483214277774096]