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/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.001733/0.001733, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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 1.734/1.734, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 MB " [Timeout remaining time 178] 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.002001/0.002001, allocations: 152.7 kB / 256.3 MB, free: 13.16 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.03842/0.03842, allocations: 6.66 MB / 319.4 MB, free: 26.57 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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 390.9 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.945e-05/4.192e-05, allocations: 6.25 kB / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.003491/0.003533, allocations: 1.266 MB / 392.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.006275, allocations: 1.14 MB / 393.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.006332, allocations: 0 / 393.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.006985, allocations: 79.62 kB / 393.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.009201, allocations: 426.2 kB / 393.8 MB, free: 76 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.246e-05/0.009224, allocations: 3.938 kB / 393.8 MB, free: 72 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.01138, allocations: 1.042 MB / 394.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.723e-05/0.01145, allocations: 11.98 kB / 394.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.01151, allocations: 8 kB / 394.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.01156, allocations: 15.92 kB / 394.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.01158, allocations: 0 / 394.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.01183, allocations: 39.97 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.01192, allocations: 23.92 kB / 394.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.01197, allocations: 11.92 kB / 394.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.0123, allocations: 87.61 kB / 395 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.01231, allocations: 0 / 395 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.01231, allocations: 0 / 395 MB, free: 14.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01232, allocations: 4 kB / 395 MB, free: 14.83 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.000583/0.0129, allocations: 313.7 kB / 395.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.01296, allocations: 8.031 kB / 395.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.01344, allocations: 108.1 kB / 395.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.01429, allocations: 325.3 kB / 395.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.01441, allocations: 158.9 kB / 395.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.01451, allocations: 150.9 kB / 396.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.01463, allocations: 105.5 kB / 396.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.01469, allocations: 79.47 kB / 396.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.0148, allocations: 150.9 kB / 396.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.01491, allocations: 154.5 kB / 396.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.01503, allocations: 154.5 kB / 396.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.01549, allocations: 413.6 kB / 397.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.01564, allocations: 169.1 kB / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.01571, allocations: 88.14 kB / 397.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.01577, allocations: 75.28 kB / 397.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.416e-05/0.01586, allocations: 109.8 kB / 397.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.01586, allocations: 0 / 397.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001392/0.016, allocations: 41.59 kB / 397.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.0161, allocations: 134.6 kB / 397.7 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.01637, allocations: 167.3 kB / 397.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01639, allocations: 25.7 kB / 397.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.01648, allocations: 100.1 kB / 398 MB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.01648, allocations: 0 / 398 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.01653, allocations: 17.7 kB / 398 MB, free: 11.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.01677, allocations: 314.8 kB / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-06/0.01677, allocations: 0 / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.01679, allocations: 4 kB / 398.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.01684, allocations: 75.28 kB / 398.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-05/0.0169, allocations: 79.28 kB / 398.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.076e-05/0.01699, allocations: 41.66 kB / 398.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.01706, allocations: 83.28 kB / 398.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.627e-05/0.01712, allocations: 83.34 kB / 398.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.01724, allocations: 158.5 kB / 398.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.01729, allocations: 79.28 kB / 398.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.873e-05/0.01738, allocations: 154.5 kB / 399.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.01749, allocations: 79.22 kB / 399.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.01753, allocations: 75.28 kB / 399.2 MB, free: 10.45 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.0002209/0.01775, allocations: 276.4 kB / 399.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.01788, allocations: 120.9 kB / 399.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.01798, allocations: 113.5 kB / 399.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/0.01809, allocations: 176.3 kB / 399.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000126/0.01822, allocations: 192.1 kB / 400.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/0.01833, allocations: 176.3 kB / 400.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.01867, allocations: 372.8 kB / 400.6 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.374e-05/0.01874, allocations: 105 kB / 400.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.0191, allocations: 105 kB / 400.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.01921, allocations: 188.2 kB / 401 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.01932, allocations: 176.3 kB / 401.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001271/0.01945, allocations: 192.2 kB / 401.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001104/0.01956, allocations: 176.3 kB / 401.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01985, allocations: 319.6 kB / 401.8 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.01995, allocations: 112.9 kB / 402 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.02008, allocations: 184.2 kB / 402.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.02019, allocations: 109 kB / 402.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.0203, allocations: 180.2 kB / 402.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.02037, allocations: 104.9 kB / 402.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.02057, allocations: 127.9 kB / 402.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02057, allocations: 0 / 402.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.0209, allocations: 4 kB / 402.6 MB, free: 6.828 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.0002564/0.02116, allocations: 170.5 kB / 402.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.02122, allocations: 8 kB / 402.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.02123, allocations: 0 / 402.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.02123, allocations: 3.938 kB / 402.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.02196, allocations: 467.7 kB / 403.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.02253, allocations: 242.9 kB / 403.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.02267, allocations: 91.31 kB / 403.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.692e-05/0.02271, allocations: 0 / 403.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.02276, allocations: 12.5 kB / 403.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.02277, allocations: 0 / 403.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of Templates: time 0.004072/0.02684, allocations: 0.5004 MB / 404.1 MB, free: 5.309 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.461095407954417]