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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9488/0.9488, allocations: 177.2 MB / 200.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 159.5 kB / 257 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02349/0.02349, allocations: 6.66 MB / 320.1 MB, free: 26.58 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 391.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.512e-05, allocations: 2.312 kB / 391.6 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.00244/0.002475, allocations: 1.294 MB / 392.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.004004, allocations: 1.191 MB / 394.1 MB, free: 460 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.004043, allocations: 0 / 394.1 MB, free: 460 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.004442, allocations: 75.58 kB / 394.2 MB, free: 384 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.005272, allocations: 422.3 kB / 394.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.558e-06/0.005277, allocations: 0 / 394.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.006608, allocations: 1.038 MB / 395.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.006654, allocations: 4 kB / 395.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.006693, allocations: 19.86 kB / 395.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.874e-05/0.006722, allocations: 11.98 kB / 395.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.006731, allocations: 3.984 kB / 395.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.006863, allocations: 47.86 kB / 395.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.00692, allocations: 23.92 kB / 395.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.006941, allocations: 4 kB / 395.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.007094, allocations: 83.67 kB / 395.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007098, allocations: 0 / 395.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007099, allocations: 0 / 395.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.007104, allocations: 0 / 395.9 MB, free: 14.73 MB / 330.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.0002963/0.0074, allocations: 416.1 kB / 396.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.007443, allocations: 16.02 kB / 396.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.007673, allocations: 148 kB / 396.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.008029, allocations: 364.1 kB / 396.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.008079, allocations: 238.8 kB / 397 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.008121, allocations: 238.8 kB / 397.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.456e-05/0.008176, allocations: 153.4 kB / 397.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.008201, allocations: 119.4 kB / 397.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.008256, allocations: 254.7 kB / 397.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.008306, allocations: 242.3 kB / 398 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.008352, allocations: 238.4 kB / 398.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.008581, allocations: 0.5954 MB / 398.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.008657, allocations: 265.4 kB / 399.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.008689, allocations: 130.9 kB / 399.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.008712, allocations: 123.2 kB / 399.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.008752, allocations: 152.6 kB / 399.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.008753, allocations: 0 / 399.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.653e-05/0.008809, allocations: 37.64 kB / 399.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.008859, allocations: 174.5 kB / 399.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.008989, allocations: 226.6 kB / 399.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.008997, allocations: 29.64 kB / 399.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.009046, allocations: 158.9 kB / 400.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.009047, allocations: 0 / 400.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.009065, allocations: 19.38 kB / 400.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.009169, allocations: 0.4923 MB / 400.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.009173, allocations: 0 / 400.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-06/0.009175, allocations: 0 / 400.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.009204, allocations: 123.2 kB / 400.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.009229, allocations: 119.2 kB / 400.8 MB, free: 9.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.014e-05/0.009269, allocations: 37.66 kB / 400.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.009307, allocations: 123.2 kB / 401 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.009345, allocations: 127.1 kB / 401.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.594e-05/0.009411, allocations: 242.4 kB / 401.4 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.468e-05/0.009435, allocations: 119.2 kB / 401.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.509e-05/0.009491, allocations: 258.3 kB / 401.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.009541, allocations: 119.2 kB / 401.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.009565, allocations: 123.1 kB / 402 MB, free: 8.391 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.009675, allocations: 399 kB / 402.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.00972, allocations: 152.8 kB / 402.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.01005, allocations: 161.3 kB / 402.7 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/0.0101, allocations: 272.1 kB / 402.9 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.01015, allocations: 272 kB / 403.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.273e-05/0.01021, allocations: 272 kB / 403.5 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.01038, allocations: 0.5116 MB / 404 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/0.01041, allocations: 156.8 kB / 404.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.01044, allocations: 144.9 kB / 404.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.01049, allocations: 272.1 kB / 404.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.01055, allocations: 272 kB / 404.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.288e-05/0.0106, allocations: 264.4 kB / 405 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.459e-05/0.01065, allocations: 272 kB / 405.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.01077, allocations: 456 kB / 405.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.01081, allocations: 164.7 kB / 405.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.01087, allocations: 268.1 kB / 406.2 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.01092, allocations: 148.8 kB / 406.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.01098, allocations: 268.1 kB / 406.6 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.01101, allocations: 152.8 kB / 406.7 MB, free: 3.406 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.01109, allocations: 163.8 kB / 406.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01109, allocations: 0 / 406.9 MB, free: 3.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.01124, allocations: 4 kB / 406.9 MB, free: 3.242 MB / 330.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 (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.000131/0.01137, allocations: 218.4 kB / 407.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.038e-05/0.01141, allocations: 0 / 407.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01141, allocations: 4 kB / 407.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.01142, allocations: 0 / 407.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.01179, allocations: 0.7139 MB / 407.8 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.01224, allocations: 292.7 kB / 408.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.01228, allocations: 66.62 kB / 408.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.01231, allocations: 0 / 408.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.01233, allocations: 12.5 kB / 408.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01233, allocations: 0 / 408.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of Templates: time 0.002021/0.01435, allocations: 0.5135 MB / 408.7 MB, free: 1.391 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0654593089129776]