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.001126/0.001126, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.1 MB, free: 4.523 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.001697/0.001696, allocations: 192.4 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03477/0.03477, allocations: 8.798 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 79.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 51.56 MB / 0.504 GB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002839/0.1137, allocations: 1.262 MB / 0.5053 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1158, allocations: 1.16 MB / 0.5064 GB, free: 7.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.1159, allocations: 0 / 0.5064 GB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.1164, allocations: 75.69 kB / 0.5065 GB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.1177, allocations: 394.4 kB / 0.5069 GB, free: 6.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.462e-06/0.1177, allocations: 0 / 0.5069 GB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.119, allocations: 0.7725 MB / 0.5076 GB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.119, allocations: 4 kB / 0.5076 GB, free: 5.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.1191, allocations: 7.938 kB / 0.5076 GB, free: 5.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.1191, allocations: 19.84 kB / 0.5076 GB, free: 5.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1191, allocations: 0 / 0.5076 GB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1193, allocations: 43.92 kB / 0.5077 GB, free: 5.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.1194, allocations: 19.91 kB / 0.5077 GB, free: 5.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.1194, allocations: 15.88 kB / 0.5077 GB, free: 5.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1196, allocations: 87.67 kB / 0.5078 GB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1196, allocations: 0 / 0.5078 GB, free: 5.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1196, allocations: 0 / 0.5078 GB, free: 5.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1196, allocations: 0 / 0.5078 GB, free: 5.633 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.0004044/0.1201, allocations: 375.1 kB / 0.5082 GB, free: 5.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1201, allocations: 8.031 kB / 0.5082 GB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.1205, allocations: 108.1 kB / 0.5083 GB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.121, allocations: 359.1 kB / 0.5086 GB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.1211, allocations: 158.9 kB / 0.5088 GB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.1212, allocations: 154.9 kB / 0.5089 GB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.395e-05/0.1212, allocations: 105.3 kB / 0.509 GB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.1213, allocations: 75.28 kB / 0.5091 GB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.1214, allocations: 154.6 kB / 0.5092 GB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.1214, allocations: 154.6 kB / 0.5094 GB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.1215, allocations: 154.5 kB / 0.5095 GB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1218, allocations: 457.9 kB / 0.51 GB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.1219, allocations: 173.1 kB / 0.5101 GB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.122, allocations: 84.14 kB / 0.5102 GB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.122, allocations: 75.28 kB / 0.5103 GB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.122, allocations: 113.8 kB / 0.5104 GB, free: 2.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.1221, allocations: 0 / 0.5104 GB, free: 2.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.457e-05/0.1221, allocations: 37.55 kB / 0.5104 GB, free: 2.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.1222, allocations: 130.7 kB / 0.5105 GB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1224, allocations: 158.2 kB / 0.5107 GB, free: 2.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1224, allocations: 25.7 kB / 0.5107 GB, free: 2.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.1225, allocations: 96.14 kB / 0.5108 GB, free: 2.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.1225, allocations: 0 / 0.5108 GB, free: 2.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.1225, allocations: 13.72 kB / 0.5108 GB, free: 2.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1227, allocations: 318.8 kB / 0.5111 GB, free: 1.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-06/0.1227, allocations: 7.938 kB / 0.5111 GB, free: 1.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.1227, allocations: 4 kB / 0.5111 GB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.1227, allocations: 75.28 kB / 0.5112 GB, free: 1.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/0.1227, allocations: 75.28 kB / 0.5113 GB, free: 1.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.64e-05/0.1228, allocations: 41.55 kB / 0.5113 GB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.1229, allocations: 87.22 kB / 0.5114 GB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.1229, allocations: 79.27 kB / 0.5115 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-05/0.123, allocations: 154.5 kB / 0.5116 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.612e-05/0.123, allocations: 79.28 kB / 0.5117 GB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-05/0.1231, allocations: 150.6 kB / 0.5118 GB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.1232, allocations: 83.22 kB / 0.5119 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1232, allocations: 79.33 kB / 0.512 GB, free: 1.082 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.0001498/0.1233, allocations: 276.3 kB / 0.5123 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.1234, allocations: 116.8 kB / 0.5124 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.1235, allocations: 120.8 kB / 0.5125 GB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-05/0.1236, allocations: 180.2 kB / 0.5127 GB, free: 376 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.062e-05/0.1236, allocations: 184.2 kB / 0.5128 GB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.081e-05/0.1237, allocations: 176.3 kB / 0.513 GB, free: 0 / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.124, allocations: 425.1 kB / 0.5134 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-05/0.1241, allocations: 105 kB / 0.5135 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.1241, allocations: 109 kB / 0.5136 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.1242, allocations: 188.1 kB / 0.5138 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.1243, allocations: 176.3 kB / 0.514 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.028e-05/0.1243, allocations: 180.2 kB / 0.5141 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.035e-05/0.1244, allocations: 180.3 kB / 0.5143 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.1246, allocations: 316 kB / 0.5146 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.1247, allocations: 189.9 kB / 0.5148 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.1248, allocations: 184.2 kB / 0.515 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.1249, allocations: 101 kB / 0.5151 GB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.125, allocations: 192.2 kB / 0.5152 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.125, allocations: 109 kB / 0.5154 GB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.1251, allocations: 120.1 kB / 0.5155 GB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 0 / 0.5155 GB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1254, allocations: 4 kB / 0.5155 GB, free: 13.3 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.0001621/0.1256, allocations: 174.5 kB / 0.5156 GB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.445e-05/0.1256, allocations: 4 kB / 0.5156 GB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1256, allocations: 0 / 0.5156 GB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-06/0.1256, allocations: 7.922 kB / 0.5156 GB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.1262, allocations: 463.7 kB / 0.5161 GB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.1265, allocations: 258.5 kB / 0.5163 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1269, allocations: 0.7078 MB / 0.517 GB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.1269, allocations: 7.438 kB / 0.517 GB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1269, allocations: 0 / 0.517 GB, free: 11.62 MB / 366.1 MB Notification: Performance of Templates: time 0.002428/0.1293, allocations: 0.8297 MB / 0.5178 GB, free: 10.8 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)