Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009718/0.0009718, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04032/0.04032, allocations: 8.7 MB / 21.96 MB, free: 3.367 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.389/1.389, allocations: 221.4 MB / 246 MB, free: 3.539 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.000804/0.000804, allocations: 98.86 kB / 299.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.031e-05, allocations: 0 / 359.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2584, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0958/0.3543, allocations: 80.42 MB / 492.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.3546, allocations: 67.97 kB / 492.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02577/0.3804, allocations: 10.38 MB / 0.4911 GB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3804, allocations: 0 / 0.4911 GB, free: 11.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3805, allocations: 4 kB / 0.4911 GB, free: 11.52 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.0005258/0.381, allocations: 402.8 kB / 0.4915 GB, free: 11.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3811, allocations: 12.03 kB / 0.4915 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.3814, allocations: 119 kB / 0.4916 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.3832, allocations: 0.76 MB / 0.4924 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.3833, allocations: 150.6 kB / 0.4925 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.3834, allocations: 150.6 kB / 0.4927 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.383e-05/0.3834, allocations: 105 kB / 0.4928 GB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.3835, allocations: 75.28 kB / 0.4928 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.3836, allocations: 154.6 kB / 0.493 GB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.3836, allocations: 150.6 kB / 0.4931 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.405e-05/0.3837, allocations: 162.4 kB / 0.4933 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.384, allocations: 457.9 kB / 0.4937 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.3841, allocations: 177.1 kB / 0.4939 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.3842, allocations: 80.14 kB / 0.494 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3842, allocations: 75.28 kB / 0.494 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.3843, allocations: 109.8 kB / 0.4941 GB, free: 8.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3843, allocations: 0 / 0.4941 GB, free: 8.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.811e-05/0.3844, allocations: 37.59 kB / 0.4942 GB, free: 8.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3844, allocations: 130.7 kB / 0.4943 GB, free: 8.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3846, allocations: 152.4 kB / 0.4945 GB, free: 7.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3846, allocations: 33.58 kB / 0.4945 GB, free: 7.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.3847, allocations: 100.1 kB / 0.4946 GB, free: 7.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3847, allocations: 0 / 0.4946 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.3847, allocations: 0 / 0.4946 GB, free: 7.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3849, allocations: 322.8 kB / 0.4949 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.3849, allocations: 0 / 0.4949 GB, free: 7.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.3849, allocations: 4 kB / 0.4949 GB, free: 7.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.385, allocations: 75.28 kB / 0.495 GB, free: 7.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/0.385, allocations: 75.28 kB / 0.495 GB, free: 7.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.792e-05/0.3851, allocations: 49.53 kB / 0.4951 GB, free: 7.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.3852, allocations: 79.28 kB / 0.4952 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/0.3852, allocations: 75.28 kB / 0.4952 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.09e-05/0.3853, allocations: 158.5 kB / 0.4954 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.759e-05/0.3853, allocations: 79.52 kB / 0.4955 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.74e-05/0.3854, allocations: 154.6 kB / 0.4956 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.3855, allocations: 79.22 kB / 0.4957 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.3855, allocations: 75.28 kB / 0.4958 GB, free: 6.551 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 () * 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.0001273/0.3857, allocations: 267.5 kB / 0.496 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3857, allocations: 116.8 kB / 0.4961 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.3858, allocations: 113.5 kB / 0.4962 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.3859, allocations: 184.2 kB / 0.4964 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-05/0.386, allocations: 180.3 kB / 0.4966 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.34e-05/0.386, allocations: 180.3 kB / 0.4967 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3863, allocations: 429.1 kB / 0.4972 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-05/0.3864, allocations: 105 kB / 0.4973 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.3864, allocations: 104.9 kB / 0.4974 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.3865, allocations: 176.3 kB / 0.4975 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.3866, allocations: 180.3 kB / 0.4977 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.984e-05/0.3867, allocations: 189.1 kB / 0.4979 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.8e-05/0.3867, allocations: 176.3 kB / 0.498 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3869, allocations: 319.6 kB / 0.4984 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.387, allocations: 190 kB / 0.4985 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.3871, allocations: 188.2 kB / 0.4987 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.3872, allocations: 101 kB / 0.4988 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.3872, allocations: 184.7 kB / 0.499 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.3873, allocations: 105 kB / 0.4991 GB, free: 2.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.3874, allocations: 132.1 kB / 0.4992 GB, free: 2.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3874, allocations: 0 / 0.4992 GB, free: 2.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.3877, allocations: 4 kB / 0.4992 GB, free: 2.781 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 () * 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.0001949/0.3879, allocations: 206 kB / 0.4994 GB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.944e-05/0.388, allocations: 4.031 kB / 0.4994 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.388, allocations: 0 / 0.4994 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.388, allocations: 7.875 kB / 0.4994 GB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3884, allocations: 0.5434 MB / 0.5 GB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.3886, allocations: 176.2 kB / 0.5001 GB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.389, allocations: 0.7043 MB / 0.5008 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.389, allocations: 4.188 kB / 0.5008 GB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.389, allocations: 15.44 kB / 0.5008 GB, free: 1.066 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.389, allocations: 0 / 0.5008 GB, free: 1.066 MB / 378.7 MB Notification: Performance of Templates: time 0.002844/0.3919, allocations: 0.9446 MB / 0.5017 GB, free: 128 kB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)