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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03656/0.03656, allocations: 8.798 MB / 25.53 MB, free: 3.75 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 251.3 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 105.4 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.89 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.218, allocations: 51.55 MB / 417.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001984/0.22, allocations: 1.31 MB / 418.8 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2213, allocations: 1.177 MB / 420 MB, free: 18.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.2214, allocations: 0 / 420 MB, free: 18.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.2217, allocations: 79.75 kB / 420.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.2224, allocations: 349 kB / 420.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.2224, allocations: 0 / 420.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008759/0.2233, allocations: 0.7667 MB / 421.2 MB, free: 17.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.2234, allocations: 11.98 kB / 421.2 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.2234, allocations: 15.86 kB / 421.2 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.2234, allocations: 15.94 kB / 421.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.2235, allocations: 0 / 421.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2236, allocations: 39.97 kB / 421.3 MB, free: 17.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.2236, allocations: 15.92 kB / 421.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.2237, allocations: 23.8 kB / 421.3 MB, free: 17.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2238, allocations: 75.69 kB / 421.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2238, allocations: 8 kB / 421.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2238, allocations: 0 / 421.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.2238, allocations: 0 / 421.4 MB, free: 17.02 MB / 298.7 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.0002935/0.2241, allocations: 379 kB / 421.8 MB, free: 16.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2242, allocations: 8.031 kB / 421.8 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/0.2245, allocations: 112.1 kB / 421.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.2248, allocations: 355.2 kB / 422.2 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2248, allocations: 150.9 kB / 422.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2249, allocations: 154.9 kB / 422.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.274e-05/0.2249, allocations: 105.3 kB / 422.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.225, allocations: 75.28 kB / 422.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.225, allocations: 154.6 kB / 422.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.225, allocations: 150.6 kB / 423 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.2251, allocations: 158.6 kB / 423.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.2253, allocations: 465.9 kB / 423.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.2254, allocations: 173.1 kB / 423.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.2254, allocations: 80.14 kB / 423.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2254, allocations: 75.28 kB / 423.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2254, allocations: 117.7 kB / 424.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.2255, allocations: 0 / 424.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.837e-05/0.2255, allocations: 33.61 kB / 424.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2256, allocations: 138.6 kB / 424.2 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2257, allocations: 160 kB / 424.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.2257, allocations: 25.7 kB / 424.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.2258, allocations: 104.1 kB / 424.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.2258, allocations: 0 / 424.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.2258, allocations: 13.72 kB / 424.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2259, allocations: 314.8 kB / 424.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.2259, allocations: 0 / 424.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.2259, allocations: 4 kB / 424.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.505e-05/0.2259, allocations: 79.28 kB / 424.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.2259, allocations: 75.28 kB / 425 MB, free: 13.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.635e-05/0.226, allocations: 37.59 kB / 425 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.226, allocations: 83.22 kB / 425.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.226, allocations: 87.31 kB / 425.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/0.2261, allocations: 150.6 kB / 425.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.405e-05/0.2261, allocations: 83.22 kB / 425.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.2261, allocations: 154.6 kB / 425.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.2262, allocations: 75.28 kB / 425.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2262, allocations: 83.22 kB / 425.7 MB, free: 12.46 MB / 298.7 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 8.769e-05/0.2263, allocations: 276.9 kB / 426 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.2264, allocations: 120.8 kB / 426.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.2264, allocations: 116.8 kB / 426.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.2264, allocations: 176.3 kB / 426.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-05/0.2265, allocations: 180.3 kB / 426.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.33e-05/0.2265, allocations: 184.2 kB / 426.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2267, allocations: 417.2 kB / 427.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.2267, allocations: 112.9 kB / 427.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.2267, allocations: 101 kB / 427.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-05/0.2268, allocations: 188.1 kB / 427.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.2268, allocations: 176.3 kB / 427.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-05/0.2269, allocations: 176.3 kB / 427.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.625e-05/0.2269, allocations: 188.2 kB / 428.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.2271, allocations: 0.8647 MB / 428.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.2272, allocations: 189.9 kB / 429.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.2272, allocations: 184.2 kB / 429.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.2273, allocations: 105 kB / 429.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2274, allocations: 188.1 kB / 429.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2274, allocations: 105 kB / 429.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.2275, allocations: 126.1 kB / 429.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2275, allocations: 3.938 kB / 429.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.2279, allocations: 4 kB / 429.8 MB, free: 8.082 MB / 298.7 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.00011/0.228, allocations: 178.5 kB / 430 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.646e-05/0.2281, allocations: 3.938 kB / 430 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.2281, allocations: 0 / 430 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.2281, allocations: 0 / 430 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.2285, allocations: 0.5302 MB / 430.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.2287, allocations: 246.6 kB / 430.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2288, allocations: 0.6965 MB / 431.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.2289, allocations: 4 kB / 431.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.2289, allocations: 7.438 kB / 431.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2289, allocations: 4 kB / 431.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of Templates: time 0.002049/0.231, allocations: 462.3 kB / 431.9 MB, free: 5.906 MB / 298.7 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)