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.001562/0.001563, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.411/1.411, allocations: 222.9 MB / 240 MB, free: 4.535 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.001256/0.001256, allocations: 188.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03465/0.03465, allocations: 8.797 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 78.5 kB / 412.5 MB, free: 41.67 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 51.56 MB / 464.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002964/0.1065, allocations: 1.245 MB / 465.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1087, allocations: 1.152 MB / 466.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.1088, allocations: 0 / 466.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.1092, allocations: 75.69 kB / 466.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009583/0.1102, allocations: 406.5 kB / 466.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.618e-06/0.1102, allocations: 0 / 466.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1118, allocations: 0.9675 MB / 467.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.1119, allocations: 8 kB / 467.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.1119, allocations: 7.938 kB / 467.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.1119, allocations: 15.86 kB / 467.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.112, allocations: 0 / 467.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1121, allocations: 47.91 kB / 468 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1122, allocations: 11.98 kB / 468 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1123, allocations: 23.8 kB / 468 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1125, allocations: 87.69 kB / 468.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1125, allocations: 0 / 468.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1125, allocations: 0 / 468.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1125, allocations: 0 / 468.1 MB, free: 9.508 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.0004458/0.113, allocations: 390.9 kB / 468.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.113, allocations: 11.97 kB / 468.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.1135, allocations: 108.1 kB / 468.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.1141, allocations: 355.9 kB / 469 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.1141, allocations: 150.9 kB / 469.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.1142, allocations: 154.9 kB / 469.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.554e-05/0.1143, allocations: 105.3 kB / 469.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.1143, allocations: 75.28 kB / 469.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.1144, allocations: 154.6 kB / 469.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/0.1144, allocations: 154.6 kB / 469.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.086e-05/0.1145, allocations: 154.5 kB / 469.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.1148, allocations: 461.9 kB / 470.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.1149, allocations: 169.1 kB / 470.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.1149, allocations: 84.12 kB / 470.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.115, allocations: 75.28 kB / 470.7 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/0.115, allocations: 113.8 kB / 470.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1151, allocations: 0 / 470.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.405e-05/0.1151, allocations: 41.55 kB / 470.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1152, allocations: 130.7 kB / 470.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1154, allocations: 163.3 kB / 471.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1154, allocations: 25.7 kB / 471.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1155, allocations: 100.1 kB / 471.2 MB, free: 6.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1155, allocations: 0 / 471.2 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.1155, allocations: 17.7 kB / 471.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.1158, allocations: 314.8 kB / 471.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-06/0.1158, allocations: 0 / 471.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-06/0.1158, allocations: 8 kB / 471.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.1158, allocations: 75.28 kB / 471.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-05/0.1159, allocations: 79.28 kB / 471.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.785e-05/0.1159, allocations: 41.53 kB / 471.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.116, allocations: 83.22 kB / 471.8 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-05/0.1161, allocations: 83.27 kB / 471.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-05/0.1161, allocations: 158.5 kB / 472.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.689e-05/0.1162, allocations: 79.28 kB / 472.1 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.01e-05/0.1163, allocations: 154.6 kB / 472.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.1163, allocations: 83.22 kB / 472.4 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.1164, allocations: 75.28 kB / 472.4 MB, free: 4.926 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.0002722/0.1167, allocations: 280.3 kB / 472.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.1168, allocations: 124.7 kB / 472.8 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.1168, allocations: 113.5 kB / 472.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/0.117, allocations: 176.3 kB / 473.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-05/0.1171, allocations: 192.2 kB / 473.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-05/0.1171, allocations: 176.3 kB / 473.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.1175, allocations: 425.1 kB / 473.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001086/0.1176, allocations: 109 kB / 474 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1177, allocations: 101 kB / 474.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-05/0.1178, allocations: 184.1 kB / 474.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.118, allocations: 180.3 kB / 474.5 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.526e-05/0.118, allocations: 184.2 kB / 474.6 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.401e-05/0.1181, allocations: 184.2 kB / 474.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1184, allocations: 315.7 kB / 475.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.1185, allocations: 189.9 kB / 475.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.1186, allocations: 188.2 kB / 475.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1187, allocations: 101 kB / 475.6 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.1188, allocations: 184.7 kB / 475.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.1189, allocations: 105 kB / 475.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.119, allocations: 124.9 kB / 476 MB, free: 1.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.119, allocations: 0 / 476 MB, free: 1.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1193, allocations: 4 kB / 476 MB, free: 1.141 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.0001568/0.1194, allocations: 170.5 kB / 476.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.251e-05/0.1195, allocations: 4 kB / 476.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1195, allocations: 0 / 476.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.1195, allocations: 7.938 kB / 476.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.12, allocations: 469.5 kB / 476.6 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.1204, allocations: 244.8 kB / 476.9 MB, free: 228 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1206, allocations: 0.7002 MB / 477.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.1207, allocations: 7.984 kB / 477.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.1207, allocations: 11.38 kB / 477.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1207, allocations: 0 / 477.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of Templates: time 0.002631/0.1233, allocations: 479.9 kB / 478.1 MB, free: 15.02 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)