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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 182.9 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.03676/0.03676, allocations: 8.795 MB / 25.53 MB, free: 3.746 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.302/1.302, allocations: 222.9 MB / 251.3 MB, free: 7.438 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.001102/0.001102, allocations: 105.4 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 67.89 kB / 366 MB, free: 188 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2028, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001935/0.2048, allocations: 1.306 MB / 418.8 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2062, allocations: 1.176 MB / 420 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.2062, allocations: 0 / 420 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.2065, allocations: 75.75 kB / 420.1 MB, free: 18.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006198/0.2072, allocations: 347 kB / 420.4 MB, free: 18.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.995e-06/0.2072, allocations: 4 kB / 420.4 MB, free: 18.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.2082, allocations: 0.9733 MB / 421.4 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.2083, allocations: 8 kB / 421.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.2083, allocations: 7.938 kB / 421.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.2083, allocations: 11.94 kB / 421.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/0.2083, allocations: 4 kB / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.2084, allocations: 43.91 kB / 421.5 MB, free: 16.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.2085, allocations: 23.91 kB / 421.5 MB, free: 16.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2085, allocations: 19.81 kB / 421.5 MB, free: 16.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2086, allocations: 75.69 kB / 421.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2087, allocations: 4 kB / 421.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2087, allocations: 0 / 421.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.2087, allocations: 0 / 421.6 MB, free: 16.84 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.0002529/0.2089, allocations: 379.1 kB / 422 MB, free: 16.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.209, allocations: 12.03 kB / 422 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.2093, allocations: 112 kB / 422.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2096, allocations: 361.5 kB / 422.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2096, allocations: 150.9 kB / 422.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2096, allocations: 154.9 kB / 422.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.907e-05/0.2097, allocations: 105.3 kB / 422.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2097, allocations: 79.28 kB / 422.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2097, allocations: 158.5 kB / 423.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2097, allocations: 150.6 kB / 423.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.2098, allocations: 150.6 kB / 423.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.2099, allocations: 469.9 kB / 423.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.21, allocations: 169.1 kB / 424 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.21, allocations: 80.14 kB / 424.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.21, allocations: 79.22 kB / 424.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2101, allocations: 113.8 kB / 424.3 MB, free: 14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2101, allocations: 0 / 424.3 MB, free: 14 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.546e-05/0.2101, allocations: 33.61 kB / 424.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2102, allocations: 134.7 kB / 424.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2103, allocations: 167.3 kB / 424.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-06/0.2103, allocations: 25.7 kB / 424.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.2103, allocations: 104.1 kB / 424.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-06/0.2104, allocations: 0 / 424.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.2104, allocations: 9.766 kB / 424.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.2104, allocations: 322.8 kB / 425 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-06/0.2104, allocations: 0 / 425 MB, free: 13.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.2104, allocations: 3.938 kB / 425 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.22e-05/0.2104, allocations: 79.28 kB / 425.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.2105, allocations: 83.27 kB / 425.2 MB, free: 13 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.325e-05/0.2105, allocations: 33.61 kB / 425.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2105, allocations: 83.22 kB / 425.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2106, allocations: 75.28 kB / 425.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.2106, allocations: 158.5 kB / 425.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.2106, allocations: 83.41 kB / 425.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.2106, allocations: 162.5 kB / 425.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.2107, allocations: 75.28 kB / 425.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2107, allocations: 83.27 kB / 425.9 MB, free: 12.25 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 7.052e-05/0.2108, allocations: 276.8 kB / 426.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.2108, allocations: 120.8 kB / 426.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.2108, allocations: 117.5 kB / 426.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.2109, allocations: 180.2 kB / 426.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.2109, allocations: 180.2 kB / 426.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.2109, allocations: 176.3 kB / 427 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.2111, allocations: 425.1 kB / 427.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.2111, allocations: 109 kB / 427.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.2111, allocations: 104.9 kB / 427.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/0.2111, allocations: 184.2 kB / 427.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2111, allocations: 184.2 kB / 427.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-05/0.2112, allocations: 180.3 kB / 428.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.101e-05/0.2112, allocations: 184.2 kB / 428.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.2114, allocations: 0.8685 MB / 429.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.2114, allocations: 190 kB / 429.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.2114, allocations: 184.2 kB / 429.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.2115, allocations: 112.9 kB / 429.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2115, allocations: 180.3 kB / 429.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2116, allocations: 104.9 kB / 429.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.2116, allocations: 127.9 kB / 430.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2116, allocations: 0 / 430.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.212, allocations: 0 / 430.1 MB, free: 7.867 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 8.339e-05/0.212, allocations: 178.5 kB / 430.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.713e-05/0.2121, allocations: 0 / 430.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2121, allocations: 0 / 430.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.2121, allocations: 7.984 kB / 430.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2124, allocations: 0.5287 MB / 430.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.2127, allocations: 258.5 kB / 431 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.2128, allocations: 0.6965 MB / 431.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.2128, allocations: 4 kB / 431.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.2128, allocations: 7.438 kB / 431.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2128, allocations: 0 / 431.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of Templates: time 0.002003/0.2148, allocations: 468.8 kB / 432.2 MB, free: 5.68 MB / 298.7 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 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)