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: "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007281/0.007281, allocations: 172.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04431/0.04431, allocations: 8.795 MB / 24.65 MB, free: 4.086 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.233/1.233, allocations: 223.2 MB / 250.7 MB, free: 6.562 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.000833/0.000833, allocations: 107 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12 kB / 367.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.237, allocations: 52.54 MB / 419.7 MB, free: 48.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09077/0.3279, allocations: 80.48 MB / 0.4884 GB, free: 8.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.3281, allocations: 75.91 kB / 0.4885 GB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02446/0.3526, allocations: 10.42 MB / 0.4987 GB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3526, allocations: 0 / 0.4987 GB, free: 14.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3526, allocations: 4 kB / 0.4987 GB, free: 14.07 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.0004299/0.3531, allocations: 430.7 kB / 0.4991 GB, free: 13.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3531, allocations: 8.562 kB / 0.4991 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.3532, allocations: 105.8 kB / 0.4992 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.3535, allocations: 115.1 kB / 0.4993 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.3553, allocations: 0.7756 MB / 0.5001 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.3554, allocations: 154.6 kB / 0.5002 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.3554, allocations: 150.6 kB / 0.5004 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.3555, allocations: 105 kB / 0.5005 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3556, allocations: 83.16 kB / 0.5006 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.3556, allocations: 150.6 kB / 0.5007 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.3557, allocations: 158.5 kB / 0.5009 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.3557, allocations: 154.5 kB / 0.501 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.356, allocations: 461.9 kB / 0.5014 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.3561, allocations: 169.1 kB / 0.5016 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3561, allocations: 79.22 kB / 0.5017 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.3562, allocations: 113.8 kB / 0.5018 GB, free: 10.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3562, allocations: 0 / 0.5018 GB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.544e-05/0.3562, allocations: 37.59 kB / 0.5018 GB, free: 10.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3563, allocations: 126.7 kB / 0.5019 GB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3565, allocations: 155.7 kB / 0.5021 GB, free: 10.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.3565, allocations: 29.64 kB / 0.5021 GB, free: 10.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3565, allocations: 100.1 kB / 0.5022 GB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.3565, allocations: 0 / 0.5022 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.3565, allocations: 0 / 0.5022 GB, free: 10.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3567, allocations: 326.8 kB / 0.5025 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-06/0.3567, allocations: 0 / 0.5025 GB, free: 9.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.3567, allocations: 7.938 kB / 0.5025 GB, free: 9.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.3567, allocations: 75.28 kB / 0.5026 GB, free: 9.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-05/0.3567, allocations: 75.28 kB / 0.5027 GB, free: 9.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.441e-05/0.3568, allocations: 41.59 kB / 0.5027 GB, free: 9.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.3568, allocations: 84.06 kB / 0.5028 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.3569, allocations: 75.28 kB / 0.5029 GB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-05/0.3569, allocations: 158.5 kB / 0.503 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.357, allocations: 75.28 kB / 0.5031 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.165e-05/0.357, allocations: 158.5 kB / 0.5032 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.3571, allocations: 75.28 kB / 0.5033 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.3571, allocations: 87.52 kB / 0.5034 GB, free: 9.016 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.0001171/0.3572, allocations: 272.3 kB / 0.5037 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.3573, allocations: 120.8 kB / 0.5038 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.3574, allocations: 113.5 kB / 0.5039 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.3574, allocations: 180.2 kB / 0.5041 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.221e-05/0.3575, allocations: 180.3 kB / 0.5042 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/0.3575, allocations: 184.2 kB / 0.5044 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3577, allocations: 425.1 kB / 0.5048 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/0.3578, allocations: 112.9 kB / 0.5049 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.3578, allocations: 104.9 kB / 0.505 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-05/0.3579, allocations: 176.3 kB / 0.5052 GB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.3579, allocations: 180.3 kB / 0.5054 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.993e-05/0.358, allocations: 185.2 kB / 0.5055 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.215e-05/0.3581, allocations: 176.3 kB / 0.5057 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3582, allocations: 315.6 kB / 0.506 GB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.3583, allocations: 193.9 kB / 0.5062 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.3584, allocations: 180.2 kB / 0.5064 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3585, allocations: 113 kB / 0.5065 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3585, allocations: 184.6 kB / 0.5066 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.3586, allocations: 101 kB / 0.5067 GB, free: 5.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.3587, allocations: 127.9 kB / 0.5069 GB, free: 5.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3587, allocations: 4 kB / 0.5069 GB, free: 5.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.3589, allocations: 4 kB / 0.5069 GB, free: 5.234 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.000387/0.3593, allocations: 0.8438 MB / 0.5077 GB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.626e-05/0.3593, allocations: 3.938 kB / 0.5077 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3594, allocations: 0 / 0.5077 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3594, allocations: 0 / 0.5077 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3597, allocations: 0.538 MB / 0.5082 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.3605, allocations: 0.7664 MB / 0.509 GB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3608, allocations: 0.6965 MB / 0.5096 GB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.3608, allocations: 4.188 kB / 0.5097 GB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3608, allocations: 19.42 kB / 0.5097 GB, free: 2.262 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3608, allocations: 7.938 kB / 0.5097 GB, free: 2.254 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.3722, allocations: 2.14 MB / 0.5118 GB, free: 268 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.3724, allocations: 177 kB / 0.5119 GB, free: 20 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/1.807, allocations: 0 / 0.5119 GB, free: 20 kB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)