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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009478, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 238.8 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 192.4 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03184/0.03184, allocations: 8.78 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.48 kB / 410.4 MB, free: 42.31 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.093, allocations: 51.56 MB / 461.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.003153/0.0962, allocations: 1.308 MB / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.09863, allocations: 1.168 MB / 464.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.0987, allocations: 0 / 464.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.0993, allocations: 79.69 kB / 464.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1005, allocations: 354.9 kB / 464.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.121e-06/0.1005, allocations: 4 kB / 464.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.1021, allocations: 0.7685 MB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.1021, allocations: 4 kB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.1021, allocations: 7.938 kB / 465.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.1022, allocations: 19.86 kB / 465.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1022, allocations: 4 kB / 465.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1024, allocations: 43.92 kB / 465.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1025, allocations: 19.91 kB / 465.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1025, allocations: 19.86 kB / 465.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1027, allocations: 67.98 kB / 465.8 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1027, allocations: 0 / 465.8 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.51e-06/0.1027, allocations: 4 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1027, allocations: 0 / 465.8 MB, free: 10.99 MB / 302.1 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.0004045/0.1032, allocations: 383.1 kB / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1032, allocations: 12.03 kB / 466.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004842/0.1037, allocations: 104.1 kB / 466.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.1042, allocations: 356 kB / 466.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.1043, allocations: 154.9 kB / 466.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.1044, allocations: 162.9 kB / 467 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.24e-05/0.1044, allocations: 105.3 kB / 467.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.1045, allocations: 75.28 kB / 467.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.1045, allocations: 154.5 kB / 467.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.1046, allocations: 150.6 kB / 467.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.1046, allocations: 150.6 kB / 467.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.1049, allocations: 465.9 kB / 468 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.078e-05/0.105, allocations: 169.1 kB / 468.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.105, allocations: 80.14 kB / 468.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1051, allocations: 79.22 kB / 468.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1051, allocations: 117.8 kB / 468.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1051, allocations: 0 / 468.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.148e-05/0.1052, allocations: 37.61 kB / 468.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1052, allocations: 130.7 kB / 468.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1054, allocations: 158.2 kB / 468.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1054, allocations: 25.7 kB / 468.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.1055, allocations: 100.1 kB / 468.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.1055, allocations: 4 kB / 468.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.1055, allocations: 13.72 kB / 468.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.1056, allocations: 322.8 kB / 469.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.1056, allocations: 0 / 469.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/0.1056, allocations: 3.938 kB / 469.2 MB, free: 7.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.1056, allocations: 75.28 kB / 469.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/0.1057, allocations: 83.28 kB / 469.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.274e-05/0.1057, allocations: 33.61 kB / 469.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1058, allocations: 93.19 kB / 469.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.1058, allocations: 75.28 kB / 469.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/0.1058, allocations: 158.5 kB / 469.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.139e-05/0.1059, allocations: 79.27 kB / 469.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.356e-05/0.1059, allocations: 154.5 kB / 470 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.106, allocations: 75.28 kB / 470.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.106, allocations: 83.28 kB / 470.1 MB, free: 6.422 MB / 302.1 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.000122/0.1061, allocations: 276.3 kB / 470.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.1062, allocations: 112.8 kB / 470.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.1063, allocations: 116.8 kB / 470.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.367e-05/0.1063, allocations: 184.2 kB / 470.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.25e-05/0.1064, allocations: 184.2 kB / 471 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-05/0.1065, allocations: 176.3 kB / 471.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.1067, allocations: 429.1 kB / 471.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/0.1068, allocations: 101 kB / 471.7 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.1068, allocations: 108.9 kB / 471.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.501e-05/0.1069, allocations: 188.2 kB / 472 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/0.107, allocations: 188.2 kB / 472.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.376e-05/0.1071, allocations: 176.3 kB / 472.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.707e-05/0.1071, allocations: 176.3 kB / 472.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1073, allocations: 311.7 kB / 472.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1074, allocations: 201.9 kB / 473 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.1075, allocations: 176.3 kB / 473.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.1076, allocations: 101 kB / 473.3 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.1077, allocations: 184.2 kB / 473.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.1077, allocations: 105 kB / 473.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.416e-05/0.1078, allocations: 119.2 kB / 473.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1078, allocations: 0 / 473.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1081, allocations: 8 kB / 473.7 MB, free: 2.652 MB / 302.1 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.0001409/0.1083, allocations: 170.5 kB / 473.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.973e-05/0.1083, allocations: 7.938 kB / 473.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1083, allocations: 0 / 473.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1083, allocations: 0 / 473.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.1088, allocations: 0.538 MB / 474.4 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.1092, allocations: 238.5 kB / 474.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1095, allocations: 0.7043 MB / 475.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.99e-05/0.1096, allocations: 7.984 kB / 475.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1096, allocations: 7.438 kB / 475.3 MB, free: 0.918 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1096, allocations: 4 kB / 475.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of Templates: time 0.002506/0.1121, allocations: 456.9 kB / 475.8 MB, free: 484 kB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)