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.00123/0.00123, allocations: 79.78 kB / 19.18 MB, free: 2.527 MB / 14.72 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.332/1.332, allocations: 177.1 MB / 199.4 MB, free: 8.441 MB / 190.1 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.001511/0.001511, allocations: 165.8 kB / 256 MB, free: 4.312 MB / 238.1 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.654 MB / 319 MB, free: 5.383 MB / 302.1 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.042e-06/1.042e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.775e-05, allocations: 9.172 kB / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001574/0.001592, allocations: 1.362 MB / 447.2 MB, free: 23.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.002493, allocations: 0.8526 MB / 448.1 MB, free: 22.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.002526, allocations: 0 / 448.1 MB, free: 22.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.002745, allocations: 87.5 kB / 448.2 MB, free: 22.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.002804, allocations: 15.86 kB / 448.2 MB, free: 22.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.003263, allocations: 266.8 kB / 448.5 MB, free: 22.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003375, allocations: 35.8 kB / 448.5 MB, free: 22.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.003412, allocations: 4 kB / 448.5 MB, free: 22.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.003497, allocations: 27.89 kB / 448.5 MB, free: 22.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.003528, allocations: 15.94 kB / 448.5 MB, free: 22.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.00354, allocations: 0 / 448.5 MB, free: 22.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.003712, allocations: 123.7 kB / 448.7 MB, free: 22.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.003721, allocations: 3.984 kB / 448.7 MB, free: 22.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.003739, allocations: 4 kB / 448.7 MB, free: 22.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.00392, allocations: 155.5 kB / 448.8 MB, free: 22.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003922, allocations: 0 / 448.8 MB, free: 22.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003923, allocations: 0 / 448.8 MB, free: 22.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003927, allocations: 0 / 448.8 MB, free: 22.25 MB / 334.1 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.0007784/0.004705, allocations: 358 kB / 449.2 MB, free: 21.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.004734, allocations: 11.98 kB / 449.2 MB, free: 21.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.004761, allocations: 4.938 kB / 449.2 MB, free: 21.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.004842, allocations: 121.7 kB / 449.3 MB, free: 21.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.004849, allocations: 384 / 449.3 MB, free: 21.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.004867, allocations: 12.36 kB / 449.3 MB, free: 21.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.004977, allocations: 54.19 kB / 449.4 MB, free: 21.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.004987, allocations: 4.172 kB / 449.4 MB, free: 21.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.004996, allocations: 384 / 449.4 MB, free: 21.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005, allocations: 3.938 kB / 449.4 MB, free: 21.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.005072, allocations: 36 kB / 449.4 MB, free: 21.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.005192, allocations: 117.4 kB / 449.5 MB, free: 21.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.005324, allocations: 58.56 kB / 449.6 MB, free: 21.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.005368, allocations: 32.97 kB / 449.6 MB, free: 21.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.005382, allocations: 4 kB / 449.6 MB, free: 21.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.005394, allocations: 38.5 kB / 449.7 MB, free: 21.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005395, allocations: 3.938 kB / 449.7 MB, free: 21.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002035/0.005598, allocations: 93.64 kB / 449.8 MB, free: 21.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.005616, allocations: 55.34 kB / 449.8 MB, free: 21.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.333e-05/0.00566, allocations: 105.8 kB / 449.9 MB, free: 21.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.005669, allocations: 37.64 kB / 450 MB, free: 20.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.005687, allocations: 84.14 kB / 450 MB, free: 20.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.005711, allocations: 23.78 kB / 450.1 MB, free: 20.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.005742, allocations: 17.72 kB / 450.1 MB, free: 20.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.005778, allocations: 314.8 kB / 450.4 MB, free: 20.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.005813, allocations: 19.98 kB / 450.4 MB, free: 20.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.005843, allocations: 20 kB / 450.4 MB, free: 20.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.005916, allocations: 49.42 kB / 450.5 MB, free: 20.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005917, allocations: 3.984 kB / 450.5 MB, free: 20.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001048/0.006022, allocations: 77.7 kB / 450.6 MB, free: 20.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.006033, allocations: 15.98 kB / 450.6 MB, free: 20.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.006036, allocations: 0 / 450.6 MB, free: 20.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.006052, allocations: 0 / 450.6 MB, free: 20.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.006146, allocations: 8 kB / 450.6 MB, free: 20.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00615, allocations: 3.938 kB / 450.6 MB, free: 20.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.006191, allocations: 0 / 450.6 MB, free: 20.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.006198, allocations: 4 kB / 450.6 MB, free: 20.32 MB / 334.1 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 4.304e-05/0.006241, allocations: 113.8 kB / 450.7 MB, free: 20.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.006253, allocations: 7.953 kB / 450.7 MB, free: 20.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.006412, allocations: 102.1 kB / 450.8 MB, free: 20.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006414, allocations: 4 kB / 450.8 MB, free: 20.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.006417, allocations: 3.938 kB / 450.8 MB, free: 20.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00642, allocations: 0 / 450.8 MB, free: 20.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.944e-05/0.006489, allocations: 125.3 kB / 450.9 MB, free: 19.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00649, allocations: 0 / 450.9 MB, free: 19.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.006566, allocations: 8 kB / 450.9 MB, free: 19.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006568, allocations: 7.984 kB / 450.9 MB, free: 19.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.006577, allocations: 4 kB / 450.9 MB, free: 19.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006578, allocations: 3.938 kB / 451 MB, free: 19.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006579, allocations: 4.016 kB / 451 MB, free: 19.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006698, allocations: 117 kB / 451.1 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.006706, allocations: 11.95 kB / 451.1 MB, free: 19.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.006719, allocations: 0 / 451.1 MB, free: 19.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.482e-05/0.006764, allocations: 4 kB / 451.1 MB, free: 19.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.006788, allocations: 7.984 kB / 451.1 MB, free: 19.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.006794, allocations: 3.938 kB / 451.1 MB, free: 19.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.088e-05/0.006815, allocations: 83.28 kB / 451.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006815, allocations: 0 / 451.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001901/0.007005, allocations: 15.98 kB / 451.2 MB, free: 19.64 MB / 334.1 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 8.757e-05/0.007092, allocations: 115.4 kB / 451.3 MB, free: 19.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.007213, allocations: 51.92 kB / 451.4 MB, free: 19.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007215, allocations: 4 kB / 451.4 MB, free: 19.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.007257, allocations: 31.92 kB / 451.4 MB, free: 19.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.007387, allocations: 3.938 kB / 451.4 MB, free: 19.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.007637, allocations: 168.7 kB / 451.6 MB, free: 19.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.007666, allocations: 67.28 kB / 451.6 MB, free: 19.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.007693, allocations: 7.984 kB / 451.6 MB, free: 19.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.007726, allocations: 12.5 kB / 451.6 MB, free: 19.13 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.007726, allocations: 0 / 451.6 MB, free: 19.13 MB / 334.1 MB Notification: Performance of Templates: time 0.002825/0.01055, allocations: 0.8063 MB / 452.5 MB, free: 18.33 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.086146008223295] Failed to read output from testmodel.py, exit status != 0: 0.015901703387498856 0.025218721000000003 0.019317333000000003 Calling exit ...