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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239 MB, free: 4.738 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 180.5 kB / 289.3 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03458/0.03458, allocations: 8.806 MB / 348.2 MB, free: 4.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.06 kB / 410.7 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06817/0.0696, allocations: 51.57 MB / 462.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002178/0.07182, allocations: 1.301 MB / 463.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.07336, allocations: 1.125 MB / 464.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.07341, allocations: 4 kB / 464.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.0738, allocations: 79.69 kB / 464.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.07464, allocations: 374.9 kB / 465.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.07466, allocations: 0 / 465.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.0759, allocations: 0.9636 MB / 466.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.07595, allocations: 4 kB / 466.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.07597, allocations: 7.938 kB / 466.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.07602, allocations: 23.84 kB / 466.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.07604, allocations: 0 / 466.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.07616, allocations: 39.98 kB / 466.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.07622, allocations: 27.91 kB / 466.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.07625, allocations: 19.81 kB / 466.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.07641, allocations: 80.02 kB / 466.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.07642, allocations: 0 / 466.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.04e-06/0.07643, allocations: 0 / 466.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.07645, allocations: 7.875 kB / 466.3 MB, free: 10.6 MB / 302.1 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.0003229/0.07678, allocations: 383 kB / 466.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.07682, allocations: 12.03 kB / 466.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.07687, allocations: 106 kB / 466.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.07723, allocations: 116.1 kB / 466.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.07763, allocations: 348 kB / 467.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.07769, allocations: 150.9 kB / 467.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.07773, allocations: 150.9 kB / 467.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.607e-05/0.0778, allocations: 113 kB / 467.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.07782, allocations: 75.28 kB / 467.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.07787, allocations: 154.6 kB / 467.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.07792, allocations: 150.6 kB / 468 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.07798, allocations: 154.6 kB / 468.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.07824, allocations: 469.9 kB / 468.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.07832, allocations: 169.1 kB / 468.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.07835, allocations: 80.14 kB / 468.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.07839, allocations: 79.22 kB / 469 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.07844, allocations: 117.8 kB / 469.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.07845, allocations: 0 / 469.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.336e-05/0.07851, allocations: 33.61 kB / 469.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.07856, allocations: 134.6 kB / 469.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.07871, allocations: 172.5 kB / 469.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.07873, allocations: 25.7 kB / 469.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.07878, allocations: 100.1 kB / 469.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.07878, allocations: 0 / 469.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.07881, allocations: 17.72 kB / 469.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.07891, allocations: 318.8 kB / 469.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/0.07892, allocations: 0 / 469.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-06/0.07893, allocations: 4 kB / 469.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.07895, allocations: 79.28 kB / 469.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.07898, allocations: 75.28 kB / 470 MB, free: 6.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.274e-05/0.07904, allocations: 41.45 kB / 470 MB, free: 6.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.07908, allocations: 79.28 kB / 470.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.07911, allocations: 87.22 kB / 470.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-05/0.07918, allocations: 150.6 kB / 470.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/0.07921, allocations: 79.22 kB / 470.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-05/0.07926, allocations: 154.5 kB / 470.6 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.07933, allocations: 79.28 kB / 470.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.07936, allocations: 79.22 kB / 470.7 MB, free: 5.902 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.07947, allocations: 280.3 kB / 471 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.07953, allocations: 112.8 kB / 471.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.07958, allocations: 125.5 kB / 471.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/0.07963, allocations: 176.3 kB / 471.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.796e-05/0.07969, allocations: 176.3 kB / 471.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/0.07975, allocations: 192.2 kB / 471.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.07995, allocations: 421.2 kB / 472.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/0.07999, allocations: 104.9 kB / 472.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.08003, allocations: 104.9 kB / 472.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.951e-05/0.08008, allocations: 176.3 kB / 472.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.08014, allocations: 192.2 kB / 472.8 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-05/0.08019, allocations: 176.3 kB / 472.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-05/0.08025, allocations: 180.2 kB / 473.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.08036, allocations: 315.6 kB / 473.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.08043, allocations: 189.9 kB / 473.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.0805, allocations: 184.3 kB / 473.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.08058, allocations: 112.9 kB / 473.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.08064, allocations: 184.2 kB / 474.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.08068, allocations: 108.9 kB / 474.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.44e-05/0.08078, allocations: 123.9 kB / 474.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08079, allocations: 0 / 474.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.08104, allocations: 4 kB / 474.3 MB, free: 2.117 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/0.08138, allocations: 0.8208 MB / 475.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.92e-05/0.08142, allocations: 0 / 475.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.08143, allocations: 0 / 475.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.08144, allocations: 7.938 kB / 475.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.08188, allocations: 467.7 kB / 475.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.08317, allocations: 1.824 MB / 477.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.08343, allocations: 0.6924 MB / 478.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.08348, allocations: 7.984 kB / 478.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.08353, allocations: 23.44 kB / 478.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08353, allocations: 0 / 478.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.09386, allocations: 1.732 MB / 479.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.09409, allocations: 200.4 kB / 480.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.743, allocations: 4 kB / 480.1 MB, free: 12.28 MB / 318.1 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/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)