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.002287/0.002287, allocations: 88.16 kB / 19.44 MB, free: 188 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.578/1.578, 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.002061/0.002061, allocations: 164.1 kB / 256.3 MB, free: 13.17 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.04106/0.04106, 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.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 2.394e-06/2.394e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.493e-05/5.733e-05, allocations: 2.312 kB / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.003923/0.00398, allocations: 1.399 MB / 392.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.006133, allocations: 0.8721 MB / 393.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.006201, allocations: 0 / 393.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.006676, allocations: 91.48 kB / 393.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.006797, allocations: 7.875 kB / 393.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.007683, allocations: 286.8 kB / 393.5 MB, free: 328 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.007926, allocations: 43.78 kB / 393.6 MB, free: 284 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.007986, allocations: 0 / 393.6 MB, free: 284 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.008244, allocations: 23.92 kB / 393.6 MB, free: 260 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.008314, allocations: 11.94 kB / 393.6 MB, free: 248 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.00834, allocations: 4 kB / 393.6 MB, free: 244 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.0087, allocations: 119.7 kB / 393.7 MB, free: 124 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.008715, allocations: 3.938 kB / 393.8 MB, free: 120 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.00876, allocations: 11.98 kB / 393.8 MB, free: 108 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.009165, allocations: 147.5 kB / 393.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.009171, allocations: 0 / 393.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.009174, allocations: 0 / 393.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.009183, allocations: 3.938 kB / 393.9 MB, free: 15.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001302/0.01049, allocations: 463.9 kB / 394.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.01054, allocations: 12.03 kB / 394.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.0106, allocations: 8.891 kB / 394.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.01075, allocations: 112.5 kB / 394.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.01077, allocations: 8.375 kB / 394.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.01078, allocations: 384 / 394.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.01094, allocations: 54.23 kB / 394.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01096, allocations: 4.188 kB / 394.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.01099, allocations: 4.359 kB / 394.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01099, allocations: 7.938 kB / 394.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.01111, allocations: 35.98 kB / 394.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.01135, allocations: 128.6 kB / 394.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.01157, allocations: 79.05 kB / 394.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.01164, allocations: 27.81 kB / 394.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.01166, allocations: 0 / 394.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.0117, allocations: 41.38 kB / 394.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.0117, allocations: 0 / 394.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003058/0.01201, allocations: 101.6 kB / 395 MB, free: 14.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.01206, allocations: 55.34 kB / 395 MB, free: 14.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.01222, allocations: 173.9 kB / 395.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.01224, allocations: 25.7 kB / 395.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.01233, allocations: 138.8 kB / 395.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.01238, allocations: 15.86 kB / 395.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.01243, allocations: 27.36 kB / 395.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000282/0.01271, allocations: 496.1 kB / 395.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.01276, allocations: 20 kB / 395.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.01281, allocations: 19.98 kB / 395.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.01293, allocations: 47.69 kB / 396 MB, free: 13.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01293, allocations: 0 / 396 MB, free: 13.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001524/0.01308, allocations: 77.69 kB / 396 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.0131, allocations: 8 kB / 396.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.0131, allocations: 0 / 396.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01312, allocations: 7.938 kB / 396.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01324, allocations: 15.98 kB / 396.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.01325, allocations: 3.938 kB / 396.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.0133, allocations: 8.578 kB / 396.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.0133, allocations: 0 / 396.1 MB, free: 13.57 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 (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 0.0001309/0.01343, allocations: 160.6 kB / 396.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.01345, allocations: 4 kB / 396.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.01368, allocations: 102.1 kB / 396.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01369, allocations: 7.984 kB / 396.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01369, allocations: 3.938 kB / 396.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.0137, allocations: 7.938 kB / 396.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.01387, allocations: 140.6 kB / 396.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01387, allocations: 0 / 396.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.01396, allocations: 8 kB / 396.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.01396, allocations: 4 kB / 396.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01397, allocations: 0 / 396.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01397, allocations: 0 / 396.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01397, allocations: 0 / 396.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.01419, allocations: 132.3 kB / 396.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.01421, allocations: 11.95 kB / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.01422, allocations: 0 / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.01427, allocations: 0 / 396.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.01431, allocations: 19.86 kB / 396.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01432, allocations: 3.938 kB / 396.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.914e-05/0.0144, allocations: 127.2 kB / 396.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0144, allocations: 0 / 396.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.01461, allocations: 12 kB / 396.8 MB, free: 12.77 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 (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.0001982/0.01481, allocations: 115.2 kB / 396.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.01498, allocations: 55.67 kB / 397 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01498, allocations: 0 / 397 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.01506, allocations: 43.61 kB / 397 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.01521, allocations: 0 / 397 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.01563, allocations: 170.1 kB / 397.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.01572, allocations: 74.8 kB / 397.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01576, allocations: 7.984 kB / 397.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.0158, allocations: 8.5 kB / 397.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01581, allocations: 0 / 397.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of Templates: time 0.004098/0.0199, allocations: 0.8382 MB / 398.1 MB, free: 11.4 MB / 330.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: 4.822848255047575]