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.0009156/0.0009156, 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.9468/0.9468, allocations: 177.2 MB / 200 MB, free: 4.465 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.001277/0.001277, allocations: 160.1 kB / 256.6 MB, free: 248 kB / 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.02427/0.02427, allocations: 6.656 MB / 319.8 MB, free: 1.219 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.223e-06/1.223e-06, allocations: 0 / 391.6 MB, free: 58.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.424e-05, allocations: 2.312 kB / 391.6 MB, free: 58.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002075/0.00209, allocations: 1.413 MB / 393 MB, free: 56.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003258, allocations: 0.8913 MB / 393.9 MB, free: 56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.003298, allocations: 0 / 393.9 MB, free: 56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.003598, allocations: 83.52 kB / 394 MB, free: 55.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.003666, allocations: 11.91 kB / 394 MB, free: 55.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.00422, allocations: 270.8 kB / 394.3 MB, free: 55.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004348, allocations: 43.78 kB / 394.3 MB, free: 55.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.004378, allocations: 7.984 kB / 394.3 MB, free: 55.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004481, allocations: 23.86 kB / 394.4 MB, free: 55.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.004515, allocations: 15.98 kB / 394.4 MB, free: 55.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.004527, allocations: 0 / 394.4 MB, free: 55.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.004754, allocations: 123.7 kB / 394.5 MB, free: 55.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-06/0.004763, allocations: 4 kB / 394.5 MB, free: 55.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.004785, allocations: 7.938 kB / 394.5 MB, free: 55.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.005011, allocations: 147.5 kB / 394.7 MB, free: 55.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005013, allocations: 4 kB / 394.7 MB, free: 55.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005014, allocations: 0 / 394.7 MB, free: 55.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.005017, allocations: 0 / 394.7 MB, free: 55.27 MB / 314.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.0007001/0.005717, allocations: 468.2 kB / 395.1 MB, free: 54.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.005756, allocations: 11.98 kB / 395.1 MB, free: 54.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.005797, allocations: 4.938 kB / 395.1 MB, free: 54.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.149e-05/0.005869, allocations: 120.5 kB / 395.3 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.00588, allocations: 384 / 395.3 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.005899, allocations: 8.375 kB / 395.3 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.005998, allocations: 42.25 kB / 395.3 MB, free: 54.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006009, allocations: 192 / 395.3 MB, free: 54.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.006019, allocations: 384 / 395.3 MB, free: 54.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.006028, allocations: 7.875 kB / 395.3 MB, free: 54.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.006092, allocations: 19.98 kB / 395.3 MB, free: 54.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.006228, allocations: 132.6 kB / 395.5 MB, free: 54.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006377, allocations: 63.05 kB / 395.5 MB, free: 54.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.006421, allocations: 23.8 kB / 395.5 MB, free: 54.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.00644, allocations: 0 / 395.5 MB, free: 54.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.006455, allocations: 37.39 kB / 395.6 MB, free: 54.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.006456, allocations: 0 / 395.6 MB, free: 54.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002008/0.006657, allocations: 81.58 kB / 395.7 MB, free: 54.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.006676, allocations: 55.34 kB / 395.7 MB, free: 54.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.00673, allocations: 165.9 kB / 395.9 MB, free: 53.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.006739, allocations: 25.7 kB / 395.9 MB, free: 53.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.006761, allocations: 134.9 kB / 396 MB, free: 53.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.00679, allocations: 23.78 kB / 396.1 MB, free: 53.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.006832, allocations: 23.38 kB / 396.1 MB, free: 53.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.00688, allocations: 0.4884 MB / 396.6 MB, free: 53.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.006915, allocations: 11.98 kB / 396.6 MB, free: 53.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.006945, allocations: 8 kB / 396.6 MB, free: 53.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.431e-05/0.007019, allocations: 39.67 kB / 396.6 MB, free: 53.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007021, allocations: 0 / 396.6 MB, free: 53.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001109/0.007132, allocations: 61.64 kB / 396.7 MB, free: 53.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007147, allocations: 9.859 kB / 396.7 MB, free: 53.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.007153, allocations: 4 kB / 396.7 MB, free: 53.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.007172, allocations: 0 / 396.7 MB, free: 53.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.007265, allocations: 8.688 kB / 396.7 MB, free: 53.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.007271, allocations: 3.938 kB / 396.7 MB, free: 53.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.007304, allocations: 4 kB / 396.7 MB, free: 53.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.007311, allocations: 0 / 396.7 MB, free: 53.01 MB / 314.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 5.786e-05/0.007369, allocations: 156.6 kB / 396.9 MB, free: 52.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.007384, allocations: 7.953 kB / 396.9 MB, free: 52.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.007562, allocations: 94.02 kB / 397 MB, free: 52.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007565, allocations: 0 / 397 MB, free: 52.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.00757, allocations: 15.92 kB / 397 MB, free: 52.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.007573, allocations: 3.938 kB / 397 MB, free: 52.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.007668, allocations: 128.6 kB / 397.1 MB, free: 52.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.00767, allocations: 4 kB / 397.1 MB, free: 52.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.00774, allocations: 11.98 kB / 397.1 MB, free: 52.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.007743, allocations: 0 / 397.1 MB, free: 52.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.007752, allocations: 0 / 397.1 MB, free: 52.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.007755, allocations: 4 kB / 397.1 MB, free: 52.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007756, allocations: 0 / 397.1 MB, free: 52.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.007902, allocations: 120.2 kB / 397.3 MB, free: 52.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.007912, allocations: 7.891 kB / 397.3 MB, free: 52.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.007927, allocations: 8 kB / 397.3 MB, free: 52.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.007962, allocations: 0 / 397.3 MB, free: 52.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.007983, allocations: 7.984 kB / 397.3 MB, free: 52.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.007991, allocations: 7.938 kB / 397.3 MB, free: 52.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.008015, allocations: 127.2 kB / 397.4 MB, free: 52.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008016, allocations: 0 / 397.4 MB, free: 52.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.008233, allocations: 16 kB / 397.4 MB, free: 52.23 MB / 314.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 9.399e-05/0.008327, allocations: 103.2 kB / 397.5 MB, free: 52.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.00845, allocations: 39.67 kB / 397.6 MB, free: 52.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008452, allocations: 0 / 397.6 MB, free: 52.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.008493, allocations: 35.61 kB / 397.6 MB, free: 52.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.008639, allocations: 11.98 kB / 397.6 MB, free: 52.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.008927, allocations: 146.4 kB / 397.8 MB, free: 51.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.465e-05/0.008952, allocations: 73.75 kB / 397.8 MB, free: 51.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.008981, allocations: 4 kB / 397.8 MB, free: 51.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.009018, allocations: 8.5 kB / 397.8 MB, free: 51.75 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009018, allocations: 0 / 397.8 MB, free: 51.75 MB / 314.7 MB Notification: Performance of Templates: time 0.00275/0.01177, allocations: 0.8358 MB / 398.7 MB, free: 50.92 MB / 314.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.9558888389728963]