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: "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",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.00525/0.00525, allocations: 171.3 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.03761/0.03761, allocations: 8.792 MB / 24.65 MB, free: 4.082 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.254/1.254, 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.0008301/0.0008301, allocations: 94.2 kB / 304 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 16 kB / 367.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 52.55 MB / 419.7 MB, free: 48.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09378/0.3307, allocations: 80.4 MB / 0.4884 GB, free: 8.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.331, allocations: 75.89 kB / 0.4884 GB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02272/0.3537, allocations: 9.833 MB / 0.498 GB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3538, allocations: 0 / 0.498 GB, free: 14.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3538, allocations: 0 / 0.498 GB, free: 14.74 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.0004224/0.3542, allocations: 431.5 kB / 0.4985 GB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3543, allocations: 12.55 kB / 0.4985 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.3543, allocations: 105.8 kB / 0.4986 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.3546, allocations: 115.1 kB / 0.4987 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.3563, allocations: 0.7755 MB / 0.4994 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.3563, allocations: 158.5 kB / 0.4996 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.3564, allocations: 154.6 kB / 0.4997 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.902e-05/0.3564, allocations: 101 kB / 0.4998 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3564, allocations: 75.28 kB / 0.4999 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.3565, allocations: 154.5 kB / 0.5 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.3565, allocations: 154.5 kB / 0.5002 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.3566, allocations: 150.6 kB / 0.5003 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.3568, allocations: 469.9 kB / 0.5008 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.3569, allocations: 169.1 kB / 0.5009 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3569, allocations: 75.28 kB / 0.501 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3569, allocations: 109.8 kB / 0.5011 GB, free: 11.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3569, allocations: 4 kB / 0.5011 GB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.23e-05/0.357, allocations: 37.61 kB / 0.5012 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3571, allocations: 130.6 kB / 0.5013 GB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3572, allocations: 151.7 kB / 0.5014 GB, free: 11.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.3572, allocations: 25.7 kB / 0.5015 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.3573, allocations: 104.1 kB / 0.5016 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.3573, allocations: 0 / 0.5016 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.3573, allocations: 0 / 0.5016 GB, free: 10.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.3574, allocations: 330.8 kB / 0.5019 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-06/0.3574, allocations: 0 / 0.5019 GB, free: 10.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.3574, allocations: 0 / 0.5019 GB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.3574, allocations: 83.22 kB / 0.502 GB, free: 10.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.3574, allocations: 75.28 kB / 0.502 GB, free: 10.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.885e-05/0.3575, allocations: 33.61 kB / 0.5021 GB, free: 10.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.3576, allocations: 83.28 kB / 0.5021 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.3576, allocations: 75.28 kB / 0.5022 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.613e-05/0.3576, allocations: 158.5 kB / 0.5024 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-05/0.3577, allocations: 75.28 kB / 0.5024 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.891e-05/0.3577, allocations: 162.5 kB / 0.5026 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.3578, allocations: 79.27 kB / 0.5027 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3578, allocations: 75.52 kB / 0.5027 GB, free: 9.688 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 9.635e-05/0.3579, allocations: 280.3 kB / 0.503 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.358, allocations: 120.8 kB / 0.5031 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.358, allocations: 113.5 kB / 0.5032 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/0.358, allocations: 184.2 kB / 0.5034 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-05/0.3581, allocations: 180.3 kB / 0.5036 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/0.3581, allocations: 180.3 kB / 0.5037 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3583, allocations: 433.1 kB / 0.5042 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.3584, allocations: 101 kB / 0.5043 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.3584, allocations: 104.9 kB / 0.5044 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.209e-05/0.3584, allocations: 176.3 kB / 0.5045 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.3585, allocations: 188.2 kB / 0.5047 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.706e-05/0.3586, allocations: 189.2 kB / 0.5049 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.202e-05/0.3586, allocations: 176.3 kB / 0.505 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.3587, allocations: 315.6 kB / 0.5054 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3588, allocations: 190 kB / 0.5055 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.3588, allocations: 180.2 kB / 0.5057 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.3589, allocations: 113 kB / 0.5058 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.359, allocations: 184.6 kB / 0.506 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.359, allocations: 105 kB / 0.5061 GB, free: 6.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.596e-05/0.3591, allocations: 123.9 kB / 0.5062 GB, free: 5.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3591, allocations: 0 / 0.5062 GB, free: 5.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.3593, allocations: 8 kB / 0.5062 GB, free: 5.895 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.0003319/0.3597, allocations: 0.8281 MB / 0.507 GB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.663e-05/0.3597, allocations: 8.047 kB / 0.507 GB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3597, allocations: 0 / 0.507 GB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3597, allocations: 0 / 0.507 GB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.36, allocations: 0.5343 MB / 0.5076 GB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.3608, allocations: 0.7703 MB / 0.5083 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.361, allocations: 0.6965 MB / 0.509 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.361, allocations: 12.17 kB / 0.509 GB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.3611, allocations: 19.44 kB / 0.509 GB, free: 2.934 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3611, allocations: 0 / 0.509 GB, free: 2.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.372, allocations: 1.953 MB / 0.5109 GB, free: 1.125 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.3722, allocations: 173 kB / 0.5111 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.804, allocations: 0 / 0.5111 GB, free: 0.8867 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestSingleLayer12over12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)