Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.001279/0.001279, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9656/0.9656, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001143/0.001143, allocations: 163.7 kB / 257 MB, free: 12.81 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.02573/0.02573, allocations: 6.659 MB / 266.9 MB, free: 3.07 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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 285.6 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.649e-05, allocations: 9.766 kB / 285.6 MB, free: 352 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.118/0.118, allocations: 1.279 MB / 286.9 MB, free: 21.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1195, allocations: 1.195 MB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.1196, allocations: 1.594 kB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.12, allocations: 82.69 kB / 288.2 MB, free: 21.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009583/0.1209, allocations: 425.6 kB / 288.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.1209, allocations: 0.75 kB / 288.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.1221, allocations: 0.8604 MB / 289.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.1221, allocations: 2.922 kB / 289.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.1222, allocations: 13.28 kB / 289.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.1222, allocations: 7.625 kB / 289.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.1222, allocations: 0 / 289.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1224, allocations: 43.67 kB / 289.5 MB, free: 20.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1224, allocations: 21.2 kB / 289.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.1224, allocations: 10.2 kB / 289.6 MB, free: 20.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1226, allocations: 81.53 kB / 289.7 MB, free: 20.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1226, allocations: 0 / 289.7 MB, free: 20.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1226, allocations: 0.7812 kB / 289.7 MB, free: 20.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.1226, allocations: 1.094 kB / 289.7 MB, free: 20.75 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.0002273/0.1228, allocations: 287.8 kB / 289.9 MB, free: 20.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.1229, allocations: 10.58 kB / 289.9 MB, free: 20.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005115/0.1234, allocations: 106.3 kB / 290 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1237, allocations: 312.2 kB / 290.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1237, allocations: 152.2 kB / 290.5 MB, free: 19.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.1237, allocations: 155.4 kB / 290.7 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.958e-05/0.1237, allocations: 104.2 kB / 290.8 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1237, allocations: 76.44 kB / 290.8 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1237, allocations: 152.2 kB / 291 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1238, allocations: 157.5 kB / 291.1 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.068e-05/0.1238, allocations: 151.6 kB / 291.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.1239, allocations: 357.1 kB / 291.6 MB, free: 18.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/0.1239, allocations: 171.8 kB / 291.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-06/0.1239, allocations: 86.48 kB / 291.9 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.1239, allocations: 75.28 kB / 292 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.1239, allocations: 110.6 kB / 292.1 MB, free: 18.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1239, allocations: 0 / 292.1 MB, free: 18.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.581e-05/0.124, allocations: 35.27 kB / 292.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.124, allocations: 137.5 kB / 292.2 MB, free: 18.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.1241, allocations: 149.3 kB / 292.4 MB, free: 18.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-06/0.1241, allocations: 26.31 kB / 292.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.1241, allocations: 92.45 kB / 292.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-07/0.1241, allocations: 0 / 292.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.1241, allocations: 11.64 kB / 292.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.1242, allocations: 329.2 kB / 292.8 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-06/0.1242, allocations: 4 kB / 292.8 MB, free: 17.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-06/0.1242, allocations: 0 / 292.8 MB, free: 17.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-06/0.1242, allocations: 76.38 kB / 292.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1242, allocations: 75.28 kB / 293 MB, free: 17.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.894e-05/0.1242, allocations: 32.11 kB / 293 MB, free: 17.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1243, allocations: 85.38 kB / 293.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1243, allocations: 76.97 kB / 293.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1243, allocations: 153.5 kB / 293.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-06/0.1243, allocations: 81.25 kB / 293.4 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1243, allocations: 152.3 kB / 293.5 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1243, allocations: 84.81 kB / 293.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1244, allocations: 79.27 kB / 293.7 MB, free: 16.78 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.349e-05/0.1244, allocations: 261.7 kB / 294 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.1244, allocations: 113.1 kB / 294.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.1244, allocations: 114.8 kB / 294.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.1245, allocations: 183.1 kB / 294.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.1245, allocations: 182 kB / 294.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.1245, allocations: 177.8 kB / 294.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1246, allocations: 334.7 kB / 295 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.1246, allocations: 106.7 kB / 295.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.1246, allocations: 110.7 kB / 295.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.1246, allocations: 186.1 kB / 295.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1247, allocations: 178.2 kB / 295.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.1247, allocations: 180.9 kB / 295.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.451e-05/0.1247, allocations: 182.1 kB / 296 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.981e-05/0.1247, allocations: 313.8 kB / 296.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.1247, allocations: 109.4 kB / 296.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1248, allocations: 186.4 kB / 296.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.1248, allocations: 102.6 kB / 296.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1248, allocations: 184.1 kB / 296.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1248, allocations: 106.7 kB / 296.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.1249, allocations: 35.75 kB / 297 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1249, allocations: 0 / 297 MB, free: 13.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.1251, allocations: 3.344 kB / 297 MB, free: 13.43 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 8.265e-05/0.1252, allocations: 155.4 kB / 297.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.567e-05/0.1252, allocations: 1.312 kB / 297.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1252, allocations: 1.406 kB / 297.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1252, allocations: 0 / 297.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1254, allocations: 479.8 kB / 297.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.1258, allocations: 235.7 kB / 297.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.1258, allocations: 65.23 kB / 297.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.1258, allocations: 5.625 kB / 297.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.1259, allocations: 58.31 kB / 298 MB, free: 12.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1259, allocations: 0 / 298 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Templates: time 0.002285/0.1281, allocations: 0.5481 MB / 298.5 MB, free: 12.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.49836094211787]