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.0009094/0.0009094, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9681/0.9681, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.00181/0.00181, allocations: 163.3 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.02825/0.02825, allocations: 6.665 MB / 266.9 MB, free: 3.062 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.633e-06/1.633e-06, allocations: 0 / 285.7 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.753e-05, allocations: 10.25 kB / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.1157/0.1157, allocations: 1.328 MB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1173, allocations: 1.195 MB / 288.2 MB, free: 21.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.1173, allocations: 5.266 kB / 288.2 MB, free: 21.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.1177, allocations: 82.91 kB / 288.3 MB, free: 21.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.1185, allocations: 403.7 kB / 288.7 MB, free: 21.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.1185, allocations: 0 / 288.7 MB, free: 21.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1196, allocations: 0.8563 MB / 289.5 MB, free: 20.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.1196, allocations: 3.031 kB / 289.5 MB, free: 20.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.1197, allocations: 16.52 kB / 289.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.795e-05/0.1197, allocations: 8.844 kB / 289.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1197, allocations: 0 / 289.6 MB, free: 20.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1199, allocations: 51.28 kB / 289.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.1199, allocations: 21.3 kB / 289.6 MB, free: 20.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.1199, allocations: 9.516 kB / 289.6 MB, free: 20.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1201, allocations: 81.31 kB / 289.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1201, allocations: 0.6562 kB / 289.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1201, allocations: 0.6562 kB / 289.7 MB, free: 20.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1201, allocations: 0.7188 kB / 289.7 MB, free: 20.84 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.0002168/0.1203, allocations: 280 kB / 290 MB, free: 20.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1203, allocations: 9.781 kB / 290 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.1205, allocations: 109.7 kB / 290.1 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1208, allocations: 308.5 kB / 290.4 MB, free: 20.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1208, allocations: 153.6 kB / 290.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1208, allocations: 152.7 kB / 290.7 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.245e-05/0.1209, allocations: 106.6 kB / 290.8 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1209, allocations: 76.75 kB / 290.9 MB, free: 19.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1209, allocations: 156.3 kB / 291.1 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1209, allocations: 155.6 kB / 291.2 MB, free: 19.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.1209, allocations: 153 kB / 291.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.806e-05/0.121, allocations: 356.2 kB / 291.7 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.424e-05/0.1211, allocations: 169.4 kB / 291.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-06/0.1211, allocations: 83.52 kB / 291.9 MB, free: 18.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/0.1211, allocations: 81.34 kB / 292 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1211, allocations: 109.1 kB / 292.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.1211, allocations: 0 / 292.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.025e-05/0.1211, allocations: 38.81 kB / 292.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.1212, allocations: 128 kB / 292.3 MB, free: 18.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.1213, allocations: 150.9 kB / 292.4 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-06/0.1213, allocations: 26.83 kB / 292.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.1213, allocations: 94.8 kB / 292.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-07/0.1213, allocations: 0.9688 kB / 292.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.1213, allocations: 11.55 kB / 292.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.104e-05/0.1213, allocations: 325.6 kB / 292.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-06/0.1213, allocations: 0 / 292.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-06/0.1213, allocations: 7.828 kB / 292.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.278e-06/0.1213, allocations: 76.44 kB / 293 MB, free: 17.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1213, allocations: 76.44 kB / 293.1 MB, free: 17.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.421e-05/0.1214, allocations: 32.25 kB / 293.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1214, allocations: 81.11 kB / 293.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1214, allocations: 81.28 kB / 293.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1214, allocations: 156.1 kB / 293.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.662e-06/0.1214, allocations: 76.91 kB / 293.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1214, allocations: 156.2 kB / 293.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.1215, allocations: 83.58 kB / 293.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1215, allocations: 76.88 kB / 293.8 MB, free: 16.88 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.715e-05/0.1215, allocations: 269.8 kB / 294 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.1216, allocations: 107 kB / 294.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.1216, allocations: 117.4 kB / 294.3 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.1216, allocations: 186.5 kB / 294.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.1216, allocations: 178 kB / 294.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.1216, allocations: 181.8 kB / 294.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.1217, allocations: 330.4 kB / 295.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.1217, allocations: 102.5 kB / 295.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.1217, allocations: 117.7 kB / 295.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.1217, allocations: 182.2 kB / 295.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1218, allocations: 182.8 kB / 295.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.1218, allocations: 179 kB / 295.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.1218, allocations: 178.1 kB / 296 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.264e-05/0.1218, allocations: 310.9 kB / 296.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.1219, allocations: 119.1 kB / 296.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1219, allocations: 178.6 kB / 296.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.1219, allocations: 106.7 kB / 296.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.1219, allocations: 183.1 kB / 296.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.1219, allocations: 102.8 kB / 297 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.122, allocations: 31.92 kB / 297 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.122, allocations: 3.844 kB / 297 MB, free: 13.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.1221, allocations: 3.312 kB / 297.1 MB, free: 13.52 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.03e-05/0.1222, allocations: 155.7 kB / 297.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.029e-05/0.1222, allocations: 3.938 kB / 297.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.1222, allocations: 1.938 kB / 297.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.1222, allocations: 3.219 kB / 297.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1224, allocations: 477.7 kB / 297.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.1228, allocations: 230.3 kB / 297.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.617e-05/0.1228, allocations: 66.77 kB / 298 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.1228, allocations: 4.688 kB / 298 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1229, allocations: 61.33 kB / 298 MB, free: 12.58 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1229, allocations: 7.562 kB / 298 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Templates: time 0.002177/0.1251, allocations: 0.5395 MB / 298.6 MB, free: 12.52 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.676875908859074]