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.006713/0.006713, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.38/1.38, allocations: 222.9 MB / 239.4 MB, free: 4.57 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.001873/0.001873, allocations: 192.4 kB / 289.7 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03635/0.03635, allocations: 8.793 MB / 348.6 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 79.86 kB / 463.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1149, allocations: 51.55 MB / 0.5034 GB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002406/0.1174, allocations: 1.261 MB / 0.5046 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1193, allocations: 1.16 MB / 0.5057 GB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.1194, allocations: 0 / 0.5057 GB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1198, allocations: 79.67 kB / 0.5058 GB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.1209, allocations: 386.5 kB / 0.5062 GB, free: 6.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.961e-06/0.1209, allocations: 0 / 0.5062 GB, free: 6.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1221, allocations: 0.7725 MB / 0.5069 GB, free: 5.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.1222, allocations: 8 kB / 0.5069 GB, free: 5.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.1222, allocations: 11.88 kB / 0.507 GB, free: 5.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.1223, allocations: 15.86 kB / 0.507 GB, free: 5.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1223, allocations: 0 / 0.507 GB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1224, allocations: 47.91 kB / 0.507 GB, free: 5.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.1225, allocations: 15.97 kB / 0.507 GB, free: 5.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1226, allocations: 19.81 kB / 0.507 GB, free: 5.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1227, allocations: 79.69 kB / 0.5071 GB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1227, allocations: 0 / 0.5071 GB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1227, allocations: 4 kB / 0.5071 GB, free: 5.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1228, allocations: 0 / 0.5071 GB, free: 5.695 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.000358/0.1231, allocations: 379 kB / 0.5075 GB, free: 5.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1232, allocations: 12.03 kB / 0.5075 GB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.1235, allocations: 104.1 kB / 0.5076 GB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1239, allocations: 355.2 kB / 0.5079 GB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.124, allocations: 154.9 kB / 0.5081 GB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1241, allocations: 150.9 kB / 0.5082 GB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.638e-05/0.1241, allocations: 105.3 kB / 0.5083 GB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1242, allocations: 75.28 kB / 0.5084 GB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.1242, allocations: 158.5 kB / 0.5086 GB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.1243, allocations: 154.6 kB / 0.5087 GB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1244, allocations: 154.5 kB / 0.5088 GB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.1247, allocations: 457.9 kB / 0.5093 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.471e-05/0.1248, allocations: 169.1 kB / 0.5094 GB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.1248, allocations: 84.14 kB / 0.5095 GB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1249, allocations: 83.27 kB / 0.5096 GB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.1249, allocations: 109.8 kB / 0.5097 GB, free: 2.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1249, allocations: 3.938 kB / 0.5097 GB, free: 2.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.496e-05/0.125, allocations: 33.61 kB / 0.5097 GB, free: 2.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.1251, allocations: 126.7 kB / 0.5099 GB, free: 2.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1253, allocations: 158.2 kB / 0.51 GB, free: 2.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1253, allocations: 25.7 kB / 0.51 GB, free: 2.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.1254, allocations: 104.1 kB / 0.5101 GB, free: 2.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.1254, allocations: 0 / 0.5101 GB, free: 2.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.1254, allocations: 9.719 kB / 0.5102 GB, free: 2.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1255, allocations: 322.8 kB / 0.5105 GB, free: 2.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.1255, allocations: 0 / 0.5105 GB, free: 2.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.1255, allocations: 0 / 0.5105 GB, free: 2.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.1256, allocations: 79.28 kB / 0.5105 GB, free: 1.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/0.1256, allocations: 79.28 kB / 0.5106 GB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.076e-05/0.1257, allocations: 37.55 kB / 0.5106 GB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.1257, allocations: 87.22 kB / 0.5107 GB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/0.1258, allocations: 75.28 kB / 0.5108 GB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/0.1259, allocations: 162.4 kB / 0.511 GB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.1259, allocations: 75.28 kB / 0.511 GB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-05/0.126, allocations: 162.6 kB / 0.5112 GB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.126, allocations: 79.22 kB / 0.5113 GB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.1261, allocations: 75.28 kB / 0.5113 GB, free: 1.148 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.0001374/0.1262, allocations: 276.3 kB / 0.5116 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.1263, allocations: 116.8 kB / 0.5117 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.1264, allocations: 116.8 kB / 0.5118 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.795e-05/0.1264, allocations: 180.3 kB / 0.512 GB, free: 448 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.046e-05/0.1265, allocations: 180.2 kB / 0.5122 GB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-05/0.1266, allocations: 180.3 kB / 0.5123 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1269, allocations: 425.1 kB / 0.5127 GB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.1269, allocations: 108.9 kB / 0.5128 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.127, allocations: 109 kB / 0.5129 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.576e-05/0.127, allocations: 184.1 kB / 0.5131 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.1271, allocations: 180.2 kB / 0.5133 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.708e-05/0.1272, allocations: 184.2 kB / 0.5135 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.509e-05/0.1273, allocations: 176.3 kB / 0.5136 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1275, allocations: 316.1 kB / 0.5139 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.1276, allocations: 197.9 kB / 0.5141 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.1277, allocations: 180.2 kB / 0.5143 GB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.1277, allocations: 105 kB / 0.5144 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.1278, allocations: 188.2 kB / 0.5146 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.1279, allocations: 105 kB / 0.5147 GB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.128, allocations: 124 kB / 0.5148 GB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.128, allocations: 0 / 0.5148 GB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1283, allocations: 4 kB / 0.5148 GB, free: 13.36 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.0001651/0.1285, allocations: 178.5 kB / 0.515 GB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.086e-05/0.1285, allocations: 0 / 0.515 GB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1285, allocations: 0 / 0.515 GB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-06/0.1285, allocations: 7.938 kB / 0.515 GB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.129, allocations: 469.6 kB / 0.5154 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.1294, allocations: 228.8 kB / 0.5156 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1297, allocations: 0.7039 MB / 0.5163 GB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.1297, allocations: 8 kB / 0.5163 GB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.1297, allocations: 11.42 kB / 0.5164 GB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1297, allocations: 0 / 0.5164 GB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.002888/0.1326, allocations: 465.7 kB / 0.5168 GB, free: 11.26 MB / 366.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)