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.004551/0.004551, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03669/0.03669, allocations: 8.802 MB / 24.65 MB, free: 4.121 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.207/1.207, allocations: 223.2 MB / 250.7 MB, free: 6.465 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.0008186/0.0008188, allocations: 89.81 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 11.98 kB / 367.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 52.55 MB / 419.6 MB, free: 48.19 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08324/0.2977, allocations: 80.41 MB / 0.4883 GB, free: 8.699 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.2979, allocations: 67.97 kB / 0.4884 GB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02259/0.3205, allocations: 9.835 MB / 0.498 GB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3205, allocations: 0 / 0.498 GB, free: 14.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3205, allocations: 0 / 0.498 GB, free: 14.79 MB / 378.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.0003661/0.3209, allocations: 422.8 kB / 0.4984 GB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.321, allocations: 16.56 kB / 0.4984 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.3212, allocations: 111.1 kB / 0.4985 GB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.3229, allocations: 0.7794 MB / 0.4992 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.323, allocations: 154.5 kB / 0.4994 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.3231, allocations: 150.6 kB / 0.4995 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.838e-05/0.3231, allocations: 101 kB / 0.4996 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3232, allocations: 79.28 kB / 0.4997 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.3232, allocations: 150.6 kB / 0.4999 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.3232, allocations: 154.5 kB / 0.5 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.3233, allocations: 154.5 kB / 0.5002 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.3235, allocations: 469.9 kB / 0.5006 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.643e-05/0.3236, allocations: 169.1 kB / 0.5008 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3237, allocations: 75.28 kB / 0.5008 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.3237, allocations: 109.8 kB / 0.5009 GB, free: 11.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3237, allocations: 4 kB / 0.5009 GB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.551e-05/0.3238, allocations: 33.61 kB / 0.501 GB, free: 11.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3238, allocations: 130.7 kB / 0.5011 GB, free: 11.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.324, allocations: 151.7 kB / 0.5012 GB, free: 11.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.324, allocations: 25.7 kB / 0.5013 GB, free: 11.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.324, allocations: 104.1 kB / 0.5014 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.3241, allocations: 0 / 0.5014 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.3241, allocations: 3.938 kB / 0.5014 GB, free: 11.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.3242, allocations: 326.8 kB / 0.5017 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.3242, allocations: 3.938 kB / 0.5017 GB, free: 10.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-06/0.3242, allocations: 0 / 0.5017 GB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.3242, allocations: 83.28 kB / 0.5018 GB, free: 10.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.3242, allocations: 75.28 kB / 0.5018 GB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.274e-05/0.3243, allocations: 37.55 kB / 0.5019 GB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3243, allocations: 83.28 kB / 0.502 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.3244, allocations: 75.28 kB / 0.502 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.682e-05/0.3244, allocations: 154.5 kB / 0.5022 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.902e-05/0.3244, allocations: 75.28 kB / 0.5022 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-05/0.3245, allocations: 162.5 kB / 0.5024 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3246, allocations: 79.22 kB / 0.5025 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.3246, allocations: 75.52 kB / 0.5025 GB, free: 9.855 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3247, allocations: 276.3 kB / 0.5028 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.3248, allocations: 116.8 kB / 0.5029 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.3248, allocations: 121.5 kB / 0.503 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/0.3249, allocations: 180.2 kB / 0.5032 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.845e-05/0.3249, allocations: 184.3 kB / 0.5034 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.325, allocations: 180.3 kB / 0.5036 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3252, allocations: 429.1 kB / 0.504 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.3252, allocations: 105 kB / 0.5041 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.3253, allocations: 104.9 kB / 0.5042 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.053e-05/0.3253, allocations: 176.3 kB / 0.5043 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.3254, allocations: 184.2 kB / 0.5045 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.852e-05/0.3255, allocations: 181.2 kB / 0.5047 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-05/0.3255, allocations: 176.3 kB / 0.5048 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.3256, allocations: 319.6 kB / 0.5052 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.3257, allocations: 190 kB / 0.5053 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.3258, allocations: 180.2 kB / 0.5055 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.3259, allocations: 109 kB / 0.5056 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3259, allocations: 184.2 kB / 0.5058 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.326, allocations: 105.5 kB / 0.5059 GB, free: 6.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.326, allocations: 123.9 kB / 0.506 GB, free: 6.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.326, allocations: 0 / 0.506 GB, free: 6.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.3263, allocations: 8 kB / 0.506 GB, free: 6.074 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.3264, allocations: 190.4 kB / 0.5062 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.011e-05/0.3265, allocations: 4 kB / 0.5062 GB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3265, allocations: 3.938 kB / 0.5062 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.3265, allocations: 3.938 kB / 0.5062 GB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3268, allocations: 0.538 MB / 0.5067 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.3271, allocations: 248.9 kB / 0.507 GB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3273, allocations: 0.6965 MB / 0.5076 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.3274, allocations: 16.16 kB / 0.5077 GB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.3274, allocations: 7.438 kB / 0.5077 GB, free: 4.316 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3274, allocations: 0 / 0.5077 GB, free: 4.316 MB / 378.7 MB Notification: Performance of Templates: time 0.002394/0.3298, allocations: 0.7064 MB / 0.5084 GB, free: 3.617 MB / 378.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)