Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",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.005463/0.005463, allocations: 172.4 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03741/0.03741, allocations: 8.798 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.256/1.256, allocations: 223.2 MB / 250.7 MB, free: 6.582 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.000832/0.000832, allocations: 103.5 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 8 kB / 367.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 52.54 MB / 419.7 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09109/0.3346, allocations: 80.49 MB / 0.4885 GB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.3348, allocations: 68.66 kB / 0.4885 GB, free: 8.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02272/0.3575, allocations: 9.666 MB / 0.498 GB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3575, allocations: 3.938 kB / 0.498 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3576, allocations: 4 kB / 0.498 GB, free: 14.82 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.0004067/0.358, allocations: 422.8 kB / 0.4984 GB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.358, allocations: 12.56 kB / 0.4984 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.3581, allocations: 113.8 kB / 0.4985 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.3583, allocations: 115.1 kB / 0.4986 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.36, allocations: 0.767 MB / 0.4993 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.3601, allocations: 154.6 kB / 0.4995 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3601, allocations: 150.6 kB / 0.4996 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.449e-05/0.3602, allocations: 101 kB / 0.4997 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3602, allocations: 79.28 kB / 0.4998 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.3603, allocations: 150.6 kB / 0.5 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.3603, allocations: 154.5 kB / 0.5001 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.121e-05/0.3604, allocations: 154.5 kB / 0.5002 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.3606, allocations: 469.9 kB / 0.5007 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.098e-05/0.3607, allocations: 169.1 kB / 0.5009 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3607, allocations: 75.28 kB / 0.5009 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3607, allocations: 105.8 kB / 0.501 GB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.3608, allocations: 0 / 0.501 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.16e-05/0.3608, allocations: 41.53 kB / 0.5011 GB, free: 11.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3609, allocations: 130.7 kB / 0.5012 GB, free: 11.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.361, allocations: 146.4 kB / 0.5013 GB, free: 11.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.361, allocations: 29.7 kB / 0.5014 GB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.3611, allocations: 108.1 kB / 0.5015 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.3611, allocations: 0 / 0.5015 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.3611, allocations: 0 / 0.5015 GB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.3612, allocations: 322.8 kB / 0.5018 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.3612, allocations: 4 kB / 0.5018 GB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/0.3612, allocations: 3.938 kB / 0.5018 GB, free: 10.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.3612, allocations: 83.22 kB / 0.5019 GB, free: 10.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.3612, allocations: 75.28 kB / 0.5019 GB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.317e-05/0.3613, allocations: 37.55 kB / 0.502 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3613, allocations: 82.09 kB / 0.502 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.3614, allocations: 79.28 kB / 0.5021 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.935e-05/0.3614, allocations: 150.6 kB / 0.5023 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.3615, allocations: 83.2 kB / 0.5023 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.172e-05/0.3615, allocations: 154.6 kB / 0.5025 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.3616, allocations: 87.22 kB / 0.5026 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.3616, allocations: 75.52 kB / 0.5026 GB, free: 9.785 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.0001056/0.3617, allocations: 277 kB / 0.5029 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.3618, allocations: 112.9 kB / 0.503 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.3618, allocations: 120.8 kB / 0.5031 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/0.3619, allocations: 176.3 kB / 0.5033 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.128e-05/0.3619, allocations: 184.2 kB / 0.5035 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-05/0.362, allocations: 176.3 kB / 0.5036 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3622, allocations: 429.1 kB / 0.5041 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/0.3622, allocations: 105 kB / 0.5042 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.3623, allocations: 105 kB / 0.5043 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.815e-05/0.3623, allocations: 180.2 kB / 0.5044 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.3624, allocations: 176.3 kB / 0.5046 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.786e-05/0.3624, allocations: 185.2 kB / 0.5048 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.645e-05/0.3625, allocations: 180.3 kB / 0.5049 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3626, allocations: 315.6 kB / 0.5052 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3627, allocations: 190 kB / 0.5054 GB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.3627, allocations: 184.2 kB / 0.5056 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.3628, allocations: 109 kB / 0.5057 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.3629, allocations: 184.7 kB / 0.5059 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.3629, allocations: 104.9 kB / 0.506 GB, free: 6.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.393e-05/0.363, allocations: 123.2 kB / 0.5061 GB, free: 6.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.363, allocations: 0 / 0.5061 GB, free: 6.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.3633, allocations: 8 kB / 0.5061 GB, free: 6.016 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.0004025/0.3637, allocations: 0.8321 MB / 0.5069 GB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.075e-05/0.3637, allocations: 11.94 kB / 0.5069 GB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3637, allocations: 0 / 0.5069 GB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.3638, allocations: 3.984 kB / 0.5069 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3641, allocations: 0.5302 MB / 0.5075 GB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.3649, allocations: 0.743 MB / 0.5082 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3651, allocations: 0.7004 MB / 0.5089 GB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.021e-05/0.3651, allocations: 4.172 kB / 0.5089 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.3652, allocations: 23.44 kB / 0.5089 GB, free: 3.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3652, allocations: 0 / 0.5089 GB, free: 3.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.3768, allocations: 2.085 MB / 0.5109 GB, free: 1.125 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.377, allocations: 182 kB / 0.5111 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.895, allocations: 3.938 kB / 0.5111 GB, free: 0.875 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)