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.0006826/0.0006826, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009009/0.001583, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.8976/0.8976, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1631/1.061, allocations: 53.64 MB / 241.9 MB, free: 2.723 MB / 234.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.0009609/0.0009609, allocations: 156.7 kB / 242.8 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002218, allocations: 474 kB / 243.2 MB, free: 1.406 MB / 234.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.03171/0.03171, allocations: 6.657 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00453/0.03624, allocations: 2.67 MB / 253.3 MB, free: 7.547 MB / 250.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.282e-06/1.282e-06, allocations: 0 / 254.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.368e-05, allocations: 4.703 kB / 254.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001809/0.001823, allocations: 1.34 MB / 255.9 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003347, allocations: 1.205 MB / 257.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.003383, allocations: 7.938 kB / 257.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.00768, allocations: 75.62 kB / 257.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009039/0.008584, allocations: 402.2 kB / 257.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.16e-06/0.008589, allocations: 0 / 257.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.009987, allocations: 1.057 MB / 258.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.01003, allocations: 0 / 258.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.01009, allocations: 27.92 kB / 258.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.01012, allocations: 11.94 kB / 258.7 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.01012, allocations: 0 / 258.7 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.01028, allocations: 55.83 kB / 258.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.01033, allocations: 27.92 kB / 258.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.851e-05/0.01035, allocations: 7.938 kB / 258.8 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.0105, allocations: 71.77 kB / 258.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.01051, allocations: 0 / 258.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01051, allocations: 0 / 258.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.01053, allocations: 0 / 258.8 MB, free: 1.992 MB / 250.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.0002987/0.01083, allocations: 304 kB / 259.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.01085, allocations: 12.03 kB / 259.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.01111, allocations: 181.2 kB / 259.3 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.01149, allocations: 313.3 kB / 259.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.01153, allocations: 158.9 kB / 259.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.01157, allocations: 150.9 kB / 259.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.693e-05/0.01161, allocations: 105.5 kB / 260 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.01163, allocations: 79.47 kB / 260.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.01167, allocations: 154.9 kB / 260.3 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.01171, allocations: 154.5 kB / 260.4 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.01175, allocations: 154.5 kB / 260.6 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.01192, allocations: 353.3 kB / 260.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.055e-05/0.01198, allocations: 169.1 kB / 261.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.012, allocations: 84.14 kB / 261.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.01202, allocations: 79.22 kB / 261.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.01205, allocations: 109.8 kB / 261.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.01205, allocations: 0 / 261.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.413e-05/0.01211, allocations: 29.7 kB / 261.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.01216, allocations: 130.7 kB / 261.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.01226, allocations: 151.3 kB / 261.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.01227, allocations: 25.7 kB / 261.7 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.0123, allocations: 92.11 kB / 261.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-07/0.0123, allocations: 0 / 261.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.01232, allocations: 17.72 kB / 261.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.0124, allocations: 322.8 kB / 262.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.0124, allocations: 4 kB / 262.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-06/0.01241, allocations: 3.938 kB / 262.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.01243, allocations: 79.28 kB / 262.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.01244, allocations: 75.28 kB / 262.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.711e-05/0.01249, allocations: 41.62 kB / 262.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.01252, allocations: 79.28 kB / 262.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.01254, allocations: 79.28 kB / 262.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/0.01258, allocations: 154.5 kB / 262.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.548e-05/0.01261, allocations: 79.28 kB / 262.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.472e-05/0.01264, allocations: 158.6 kB / 262.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.0127, allocations: 83.23 kB / 262.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01272, allocations: 79.27 kB / 263 MB, free: 13.64 MB / 266.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 8.505e-05/0.0128, allocations: 267.2 kB / 263.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.01285, allocations: 109 kB / 263.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.01289, allocations: 125.2 kB / 263.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/0.01293, allocations: 180.2 kB / 263.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/0.01297, allocations: 176.3 kB / 263.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-05/0.01302, allocations: 184.2 kB / 264 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.01317, allocations: 341.3 kB / 264.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003028/0.0162, allocations: 101 kB / 264.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.01623, allocations: 108.9 kB / 264.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.01626, allocations: 108.9 kB / 264.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.335e-05/0.0163, allocations: 184.2 kB / 264.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.01635, allocations: 176.3 kB / 265 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.091e-05/0.01639, allocations: 176.3 kB / 265.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.235e-05/0.01643, allocations: 188.2 kB / 265.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.915e-05/0.01653, allocations: 311.7 kB / 265.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.01658, allocations: 180.2 kB / 265.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.01664, allocations: 101 kB / 265.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.01668, allocations: 188.2 kB / 266.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.01671, allocations: 105 kB / 266.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.01675, allocations: 46.44 kB / 266.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01675, allocations: 0 / 266.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000195/0.01695, allocations: 0 / 266.3 MB, free: 10.18 MB / 266.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.0001016/0.01705, allocations: 151.7 kB / 266.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.926e-05/0.01708, allocations: 4.266 kB / 266.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01708, allocations: 4 kB / 266.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.01708, allocations: 4 kB / 266.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01738, allocations: 479.6 kB / 266.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.01829, allocations: 258.1 kB / 267.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.01833, allocations: 63.34 kB / 267.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.459e-05/0.01835, allocations: 3.984 kB / 267.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.0184, allocations: 55.38 kB / 267.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0184, allocations: 0 / 267.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of Templates: time 0.005149/0.02355, allocations: 0.5849 MB / 267.8 MB, free: 8.551 MB / 266.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: 2.5170782394707203]