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.001026/0.001026, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.397/1.397, allocations: 223.3 MB / 239.4 MB, free: 5.484 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.001455/0.001455, allocations: 184.3 kB / 290.6 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03523/0.03523, allocations: 8.798 MB / 350.5 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.000396, allocations: 11.36 kB / 413.8 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 52.56 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001283/0.1057, allocations: 0.9665 MB / 467.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1075, allocations: 1.153 MB / 468.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.1076, allocations: 0 / 468.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.108, allocations: 71.75 kB / 468.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008673/0.1089, allocations: 348.9 kB / 468.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.818e-06/0.1089, allocations: 4 kB / 468.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1102, allocations: 0.9716 MB / 469.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.1102, allocations: 7.938 kB / 469.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.1102, allocations: 11.88 kB / 469.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.1103, allocations: 19.86 kB / 469.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1103, allocations: 0 / 469.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1104, allocations: 47.95 kB / 470 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1105, allocations: 19.92 kB / 470 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1105, allocations: 49.52 kB / 470 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1107, allocations: 71.73 kB / 470.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1107, allocations: 0 / 470.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1107, allocations: 0 / 470.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.1107, allocations: 0 / 470.1 MB, free: 9.387 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.0002927/0.111, allocations: 375 kB / 470.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.111, allocations: 12.03 kB / 470.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.1114, allocations: 112.1 kB / 470.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.1118, allocations: 344 kB / 470.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.1119, allocations: 158.9 kB / 471.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.1119, allocations: 154.9 kB / 471.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.928e-05/0.112, allocations: 109.3 kB / 471.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.112, allocations: 79.28 kB / 471.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.1121, allocations: 150.6 kB / 471.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.1121, allocations: 158.6 kB / 471.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.1122, allocations: 150.6 kB / 471.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.1125, allocations: 465.9 kB / 472.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.681e-05/0.1126, allocations: 177 kB / 472.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.1126, allocations: 80.14 kB / 472.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1126, allocations: 75.28 kB / 472.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.1127, allocations: 109.8 kB / 472.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.1127, allocations: 3.984 kB / 472.7 MB, free: 6.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.096e-05/0.1128, allocations: 53.53 kB / 472.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1128, allocations: 126.7 kB / 472.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.113, allocations: 164.5 kB / 473.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.113, allocations: 25.7 kB / 473.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1131, allocations: 104.1 kB / 473.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.1131, allocations: 0 / 473.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.1131, allocations: 9.719 kB / 473.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1132, allocations: 322.8 kB / 473.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-06/0.1132, allocations: 4 kB / 473.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.1132, allocations: 0 / 473.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.1132, allocations: 75.28 kB / 473.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/0.1133, allocations: 79.22 kB / 473.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.267e-05/0.1133, allocations: 37.61 kB / 473.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.1134, allocations: 84.94 kB / 473.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.1134, allocations: 79.22 kB / 473.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-05/0.1135, allocations: 162.5 kB / 474 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.283e-05/0.1135, allocations: 79.22 kB / 474.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.255e-05/0.1135, allocations: 150.6 kB / 474.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.1136, allocations: 79.28 kB / 474.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1136, allocations: 79.22 kB / 474.4 MB, free: 4.809 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.0001222/0.1138, allocations: 276.3 kB / 474.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.1138, allocations: 116.8 kB / 474.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.1139, allocations: 121.5 kB / 474.9 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/0.114, allocations: 176.3 kB / 475.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.979e-05/0.114, allocations: 188.2 kB / 475.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/0.1141, allocations: 176.3 kB / 475.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1143, allocations: 425.2 kB / 475.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.1143, allocations: 104.9 kB / 476 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1144, allocations: 105 kB / 476.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-05/0.1144, allocations: 188.1 kB / 476.3 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.1145, allocations: 176.3 kB / 476.4 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.154e-05/0.1145, allocations: 176.3 kB / 476.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.699e-05/0.1146, allocations: 192.2 kB / 476.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1147, allocations: 311.6 kB / 477.1 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1148, allocations: 193.9 kB / 477.3 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.1149, allocations: 176.3 kB / 477.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.115, allocations: 112.9 kB / 477.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.115, allocations: 184.2 kB / 477.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.1151, allocations: 108.9 kB / 477.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.1152, allocations: 124 kB / 478 MB, free: 1.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1152, allocations: 0 / 478 MB, free: 1.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1154, allocations: 4 kB / 478 MB, free: 1.027 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.0001366/0.1156, allocations: 178.5 kB / 478.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.399e-05/0.1156, allocations: 8.484 kB / 478.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1156, allocations: 0 / 478.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1156, allocations: 0 / 478.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1161, allocations: 0.5284 MB / 478.7 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.1164, allocations: 268 kB / 479 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1166, allocations: 0.6926 MB / 479.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.1167, allocations: 7.984 kB / 479.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.1167, allocations: 7.438 kB / 479.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1167, allocations: 4 kB / 479.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of Templates: time 0.002449/0.1191, allocations: 452.9 kB / 480.1 MB, free: 14.84 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: