Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.000886/0.000886, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9944/0.9944, allocations: 177.1 MB / 200 MB, free: 5.539 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.002141/0.002141, allocations: 152.6 kB / 256.6 MB, free: 13.01 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.02727/0.02727, allocations: 6.663 MB / 319.8 MB, free: 11.64 MB / 298.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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 391.6 MB, free: 3.703 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.493e-05, allocations: 2.312 kB / 391.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002554/0.002579, allocations: 1.421 MB / 393 MB, free: 2.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.004068, allocations: 0.8799 MB / 393.9 MB, free: 1.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.004109, allocations: 4 kB / 393.9 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.004454, allocations: 83.5 kB / 394 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.991e-05/0.004544, allocations: 19.84 kB / 394 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006787/0.005222, allocations: 274.8 kB / 394.3 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.005383, allocations: 43.78 kB / 394.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.005423, allocations: 0 / 394.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.005541, allocations: 19.98 kB / 394.4 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.005585, allocations: 19.91 kB / 394.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.005599, allocations: 4 kB / 394.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.00585, allocations: 119.7 kB / 394.5 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.005863, allocations: 4 kB / 394.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.00589, allocations: 12 kB / 394.5 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.006157, allocations: 147.5 kB / 394.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.00616, allocations: 0 / 394.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00616, allocations: 0 / 394.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006165, allocations: 3.938 kB / 394.7 MB, free: 0.6406 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008195/0.006985, allocations: 464.2 kB / 395.1 MB, free: 156 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.007033, allocations: 12.03 kB / 395.1 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.007081, allocations: 12.89 kB / 395.1 MB, free: 132 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.007193, allocations: 112.5 kB / 395.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.007205, allocations: 4.375 kB / 395.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.007217, allocations: 384 / 395.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.007345, allocations: 50.19 kB / 395.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.007352, allocations: 192 / 395.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.007364, allocations: 384 / 395.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.007373, allocations: 3.938 kB / 395.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.007445, allocations: 23.98 kB / 395.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.007624, allocations: 128.6 kB / 395.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.007794, allocations: 63.05 kB / 395.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.00784, allocations: 19.67 kB / 395.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.007858, allocations: 4.125 kB / 395.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.007886, allocations: 37.33 kB / 395.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.007888, allocations: 0 / 395.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002144/0.008102, allocations: 69.69 kB / 395.6 MB, free: 15.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.008138, allocations: 59.34 kB / 395.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.008226, allocations: 161.9 kB / 395.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.00824, allocations: 33.7 kB / 395.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.008295, allocations: 134.8 kB / 396 MB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.008331, allocations: 23.8 kB / 396 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.008379, allocations: 27.36 kB / 396.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.008523, allocations: 496.1 kB / 396.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.008556, allocations: 11.98 kB / 396.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.008584, allocations: 8.5 kB / 396.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.514e-05/0.008669, allocations: 39.75 kB / 396.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008672, allocations: 0 / 396.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001292/0.008801, allocations: 69.62 kB / 396.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.008818, allocations: 12 kB / 396.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.008823, allocations: 0 / 396.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.008836, allocations: 0 / 396.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.008943, allocations: 11.98 kB / 396.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.008951, allocations: 3.938 kB / 396.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.008985, allocations: 0 / 396.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.008996, allocations: 8 kB / 396.7 MB, free: 14.38 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 (6): * Single equations (assignments): 6 * 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.183e-05/0.009078, allocations: 156.5 kB / 396.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.009097, allocations: 4 kB / 396.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.009288, allocations: 94.03 kB / 397 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.00929, allocations: 4 kB / 397 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.009295, allocations: 3.938 kB / 397 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009298, allocations: 0 / 397 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.009411, allocations: 128.6 kB / 397.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009413, allocations: 0 / 397.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.009493, allocations: 12 kB / 397.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.009496, allocations: 0 / 397.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.009507, allocations: 4 kB / 397.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.00951, allocations: 8 kB / 397.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.009513, allocations: 3.984 kB / 397.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.009671, allocations: 108.4 kB / 397.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.009687, allocations: 15.89 kB / 397.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.009704, allocations: 4 kB / 397.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.009742, allocations: 0 / 397.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.009766, allocations: 11.92 kB / 397.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.009775, allocations: 8 kB / 397.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.009823, allocations: 131.2 kB / 397.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009823, allocations: 0 / 397.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.01003, allocations: 12 kB / 397.4 MB, free: 13.61 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 (8): * Single equations (assignments): 8 * 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.0001361/0.01017, allocations: 115.2 kB / 397.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.0103, allocations: 39.67 kB / 397.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0103, allocations: 0 / 397.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.01035, allocations: 35.61 kB / 397.6 MB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.01051, allocations: 0 / 397.6 MB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.01084, allocations: 162.3 kB / 397.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.01088, allocations: 67.28 kB / 397.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.911e-05/0.01091, allocations: 0 / 397.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.01096, allocations: 12.5 kB / 397.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01096, allocations: 0 / 397.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of Templates: time 0.002605/0.01357, allocations: 0.9589 MB / 398.8 MB, free: 12.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8965431842952967]