Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.00153/0.00153, allocations: 188.4 kB / 290.4 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03425/0.03424, allocations: 8.792 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 76.16 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09894, allocations: 51.57 MB / 0.504 GB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002481/0.1015, allocations: 1.252 MB / 0.5053 GB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1034, allocations: 1.156 MB / 0.5064 GB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.1035, allocations: 3.938 kB / 0.5064 GB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.1039, allocations: 75.69 kB / 0.5065 GB, free: 6.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.105, allocations: 394.5 kB / 0.5069 GB, free: 6.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.572e-06/0.105, allocations: 0 / 0.5069 GB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1064, allocations: 0.9676 MB / 0.5078 GB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.1065, allocations: 4 kB / 0.5078 GB, free: 5.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.1065, allocations: 7.938 kB / 0.5078 GB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1066, allocations: 19.86 kB / 0.5078 GB, free: 5.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1066, allocations: 0 / 0.5078 GB, free: 5.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1068, allocations: 43.91 kB / 0.5079 GB, free: 5.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1068, allocations: 23.91 kB / 0.5079 GB, free: 5.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1069, allocations: 19.81 kB / 0.5079 GB, free: 5.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.107, allocations: 83.73 kB / 0.508 GB, free: 5.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1071, allocations: 0 / 0.508 GB, free: 5.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1071, allocations: 0 / 0.508 GB, free: 5.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1071, allocations: 0 / 0.508 GB, free: 5.398 MB / 350.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.000355/0.1074, allocations: 385.6 kB / 0.5084 GB, free: 4.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1075, allocations: 8.031 kB / 0.5084 GB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.1078, allocations: 108.1 kB / 0.5085 GB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.1083, allocations: 359.8 kB / 0.5088 GB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.1083, allocations: 150.9 kB / 0.509 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.1084, allocations: 150.9 kB / 0.5091 GB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.585e-05/0.1084, allocations: 109.3 kB / 0.5092 GB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.1085, allocations: 75.28 kB / 0.5093 GB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.1085, allocations: 154.6 kB / 0.5094 GB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.1086, allocations: 150.6 kB / 0.5096 GB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.1086, allocations: 158.5 kB / 0.5097 GB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.1089, allocations: 461.9 kB / 0.5102 GB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.109, allocations: 169.1 kB / 0.5103 GB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.1091, allocations: 84.14 kB / 0.5104 GB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1091, allocations: 75.28 kB / 0.5105 GB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1092, allocations: 117.7 kB / 0.5106 GB, free: 2.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1092, allocations: 0 / 0.5106 GB, free: 2.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.839e-05/0.1092, allocations: 33.61 kB / 0.5106 GB, free: 2.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1093, allocations: 130.7 kB / 0.5107 GB, free: 2.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1095, allocations: 163.3 kB / 0.5109 GB, free: 2.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1095, allocations: 25.7 kB / 0.5109 GB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.1095, allocations: 104.1 kB / 0.511 GB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1095, allocations: 0 / 0.511 GB, free: 2.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.1096, allocations: 17.7 kB / 0.511 GB, free: 2.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1097, allocations: 322.8 kB / 0.5113 GB, free: 1.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.1097, allocations: 8 kB / 0.5114 GB, free: 1.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.1097, allocations: 3.938 kB / 0.5114 GB, free: 1.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.1098, allocations: 75.28 kB / 0.5114 GB, free: 1.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.1098, allocations: 75.28 kB / 0.5115 GB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.424e-05/0.1098, allocations: 37.55 kB / 0.5115 GB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1099, allocations: 87.22 kB / 0.5116 GB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.1099, allocations: 75.28 kB / 0.5117 GB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.691e-05/0.11, allocations: 158.5 kB / 0.5118 GB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.487e-05/0.11, allocations: 79.28 kB / 0.5119 GB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.025e-05/0.1101, allocations: 162.5 kB / 0.5121 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1102, allocations: 75.28 kB / 0.5121 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1102, allocations: 75.28 kB / 0.5122 GB, free: 0.8242 MB / 350.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.0001295/0.1103, allocations: 276.3 kB / 0.5125 GB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.1104, allocations: 120.8 kB / 0.5126 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.1105, allocations: 117.5 kB / 0.5127 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.529e-05/0.1105, allocations: 180.2 kB / 0.5129 GB, free: 112 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.862e-05/0.1106, allocations: 184.3 kB / 0.5131 GB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.728e-05/0.1107, allocations: 180.2 kB / 0.5132 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1109, allocations: 429.1 kB / 0.5136 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.111, allocations: 101 kB / 0.5137 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.111, allocations: 104.9 kB / 0.5138 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.808e-05/0.1111, allocations: 188.2 kB / 0.514 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.1112, allocations: 184.2 kB / 0.5142 GB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/0.1112, allocations: 180.2 kB / 0.5144 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.265e-05/0.1113, allocations: 180.3 kB / 0.5145 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1114, allocations: 312.1 kB / 0.5148 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.1115, allocations: 197.8 kB / 0.515 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.1116, allocations: 180.2 kB / 0.5152 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.1117, allocations: 101 kB / 0.5153 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.1118, allocations: 188.2 kB / 0.5155 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.1118, allocations: 105 kB / 0.5156 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.1119, allocations: 128.9 kB / 0.5157 GB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1119, allocations: 0 / 0.5157 GB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1122, allocations: 4 kB / 0.5157 GB, free: 13.04 MB / 366.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.0001346/0.1123, allocations: 178.5 kB / 0.5159 GB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.935e-05/0.1124, allocations: 3.984 kB / 0.5159 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1124, allocations: 3.938 kB / 0.5159 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1124, allocations: 3.938 kB / 0.5159 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.1129, allocations: 465.6 kB / 0.5163 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.1133, allocations: 278.5 kB / 0.5166 GB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1136, allocations: 0.7 MB / 0.5173 GB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1136, allocations: 7.438 kB / 0.5173 GB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1136, allocations: 0 / 0.5173 GB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.002387/0.116, allocations: 0.8502 MB / 0.5181 GB, free: 10.49 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)