Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001577, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.347/2.347, allocations: 222.9 MB / 239.5 MB, free: 4.801 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.002341/0.002341, allocations: 196.5 kB / 289.8 MB, free: 2.547 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03752/0.03752, allocations: 8.796 MB / 348.7 MB, free: 4.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 77.62 kB / 411 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1041, allocations: 51.57 MB / 462.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002902/0.1071, allocations: 1.293 MB / 463.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1096, allocations: 1.164 MB / 465.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.1097, allocations: 4 kB / 465.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.1102, allocations: 79.75 kB / 465.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.1113, allocations: 358.9 kB / 465.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.52e-06/0.1113, allocations: 0 / 465.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.1129, allocations: 0.9635 MB / 466.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.113, allocations: 7.984 kB / 466.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.113, allocations: 19.92 kB / 466.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.1131, allocations: 15.81 kB / 466.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1131, allocations: 4 kB / 466.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1133, allocations: 43.91 kB / 466.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1133, allocations: 15.98 kB / 466.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.1134, allocations: 23.8 kB / 466.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1135, allocations: 56.09 kB / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1135, allocations: 0 / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1136, allocations: 0 / 466.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1136, allocations: 0 / 466.7 MB, free: 10.88 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.000436/0.114, allocations: 391 kB / 467 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1141, allocations: 8.031 kB / 467 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.1146, allocations: 108.1 kB / 467.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.1152, allocations: 355.9 kB / 467.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.1153, allocations: 150.9 kB / 467.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.1153, allocations: 154.9 kB / 467.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.1154, allocations: 109.2 kB / 467.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.1155, allocations: 79.28 kB / 468 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.1156, allocations: 150.6 kB / 468.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-05/0.1156, allocations: 154.5 kB / 468.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/0.1157, allocations: 158.6 kB / 468.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.1161, allocations: 461.9 kB / 468.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1162, allocations: 169.1 kB / 469.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.1163, allocations: 80.14 kB / 469.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.1164, allocations: 83.22 kB / 469.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/0.1164, allocations: 113.8 kB / 469.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.1164, allocations: 0 / 469.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001165/0.1166, allocations: 37.61 kB / 469.4 MB, free: 7.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.1166, allocations: 126.7 kB / 469.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1169, allocations: 172.5 kB / 469.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1169, allocations: 25.7 kB / 469.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.117, allocations: 104.1 kB / 469.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.117, allocations: 0 / 469.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.117, allocations: 13.72 kB / 469.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1171, allocations: 318.8 kB / 470.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.1172, allocations: 0 / 470.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.1172, allocations: 7.938 kB / 470.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.1172, allocations: 75.28 kB / 470.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/0.1172, allocations: 75.28 kB / 470.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.446e-05/0.1173, allocations: 37.61 kB / 470.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.1174, allocations: 87.22 kB / 470.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.1174, allocations: 79.28 kB / 470.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.547e-05/0.1175, allocations: 154.5 kB / 470.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.499e-05/0.1175, allocations: 79.22 kB / 470.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-05/0.1176, allocations: 158.5 kB / 470.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.1177, allocations: 79.28 kB / 470.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1177, allocations: 79.28 kB / 471 MB, free: 6.289 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.0001361/0.1178, allocations: 276.3 kB / 471.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.1179, allocations: 120.7 kB / 471.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.118, allocations: 117.5 kB / 471.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-05/0.1181, allocations: 184.2 kB / 471.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-05/0.1181, allocations: 184.2 kB / 471.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/0.1182, allocations: 184.2 kB / 472 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.1185, allocations: 425.1 kB / 472.5 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/0.1185, allocations: 105 kB / 472.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1185, allocations: 104.9 kB / 472.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.558e-05/0.1186, allocations: 184.2 kB / 472.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.1187, allocations: 184.2 kB / 473 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.089e-05/0.1187, allocations: 180.2 kB / 473.2 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-05/0.1188, allocations: 176.3 kB / 473.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.119, allocations: 319.7 kB / 473.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.119, allocations: 193.9 kB / 473.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.1191, allocations: 180.3 kB / 474 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.1192, allocations: 101 kB / 474.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.1193, allocations: 184.2 kB / 474.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.1193, allocations: 105 kB / 474.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.1194, allocations: 123.9 kB / 474.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1194, allocations: 4 kB / 474.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1197, allocations: 4 kB / 474.6 MB, free: 2.504 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.0001507/0.1199, allocations: 174.5 kB / 474.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.98e-05/0.1199, allocations: 3.938 kB / 474.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1199, allocations: 0 / 474.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/0.1199, allocations: 3.984 kB / 474.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.1205, allocations: 0.5302 MB / 475.3 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.1209, allocations: 288.4 kB / 475.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1212, allocations: 0.6965 MB / 476.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.1212, allocations: 7.438 kB / 476.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1212, allocations: 0 / 476.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of Templates: time 0.00263/0.1239, allocations: 0.8385 MB / 477.1 MB, free: 15.89 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)