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.0009024/0.0009024, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.052/1.052, allocations: 177.1 MB / 200.5 MB, free: 5.512 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.001414/0.001414, allocations: 156.7 kB / 257 MB, free: 13.04 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.0242/0.0242, allocations: 6.66 MB / 320.1 MB, free: 11.71 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.252e-06/1.252e-06, allocations: 0 / 391.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.122e-05, allocations: 2.312 kB / 391.7 MB, free: 4.09 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001718/0.001739, allocations: 1.403 MB / 393.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.002681, allocations: 0.8759 MB / 393.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.002713, allocations: 4 kB / 393.9 MB, free: 1.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.002945, allocations: 79.52 kB / 394 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.00302, allocations: 19.84 kB / 394 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.003458, allocations: 274.8 kB / 394.3 MB, free: 1.422 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.003583, allocations: 35.84 kB / 394.3 MB, free: 1.387 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.003616, allocations: 7.938 kB / 394.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.003703, allocations: 31.91 kB / 394.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.052e-05/0.003733, allocations: 7.984 kB / 394.4 MB, free: 1.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.003745, allocations: 0 / 394.4 MB, free: 1.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.003928, allocations: 127.7 kB / 394.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.003939, allocations: 3.938 kB / 394.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.003958, allocations: 8 kB / 394.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.004152, allocations: 147.5 kB / 394.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004154, allocations: 0 / 394.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004155, allocations: 0 / 394.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.004158, allocations: 0 / 394.7 MB, free: 1.059 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.0006172/0.004776, allocations: 468.2 kB / 395.1 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.004813, allocations: 8.031 kB / 395.1 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.004853, allocations: 16.83 kB / 395.1 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.042e-05/0.004934, allocations: 116.5 kB / 395.3 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.004944, allocations: 384 / 395.3 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004955, allocations: 4.375 kB / 395.3 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/0.005046, allocations: 46.25 kB / 395.3 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.005051, allocations: 192 / 395.3 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.005059, allocations: 4.375 kB / 395.3 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.005066, allocations: 3.938 kB / 395.3 MB, free: 348 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.005115, allocations: 19.98 kB / 395.3 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.005254, allocations: 132.6 kB / 395.5 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.005381, allocations: 62.98 kB / 395.5 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.005417, allocations: 23.8 kB / 395.6 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.005431, allocations: 4 kB / 395.6 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.005449, allocations: 33.39 kB / 395.6 MB, free: 8 kB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.005449, allocations: 0 / 395.6 MB, free: 8 kB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001669/0.005616, allocations: 73.7 kB / 395.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.005645, allocations: 55.34 kB / 395.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.005713, allocations: 169.9 kB / 395.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.005725, allocations: 29.7 kB / 395.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.005759, allocations: 126.9 kB / 396 MB, free: 15.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.005787, allocations: 27.78 kB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.005816, allocations: 23.38 kB / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.005933, allocations: 0.4884 MB / 396.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.005957, allocations: 11.98 kB / 396.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.005976, allocations: 4 kB / 396.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.006032, allocations: 35.69 kB / 396.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006034, allocations: 0 / 396.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.497e-05/0.006118, allocations: 74.2 kB / 396.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.006129, allocations: 4 kB / 396.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.006132, allocations: 3.938 kB / 396.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.006144, allocations: 3.984 kB / 396.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.006212, allocations: 12.06 kB / 396.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.006217, allocations: 3.938 kB / 396.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.006239, allocations: 8 kB / 396.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.006244, allocations: 0 / 396.7 MB, free: 14.79 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 6.167e-05/0.006306, allocations: 156.6 kB / 396.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.006313, allocations: 0 / 396.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.006446, allocations: 105.9 kB / 397 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006448, allocations: 0 / 397 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.006451, allocations: 3.938 kB / 397 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006454, allocations: 4 kB / 397 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.101e-05/0.006535, allocations: 124.6 kB / 397.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.006537, allocations: 4 kB / 397.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.006576, allocations: 8 kB / 397.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006577, allocations: 0 / 397.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.006589, allocations: 15.97 kB / 397.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006589, allocations: 0 / 397.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006591, allocations: 0 / 397.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.006692, allocations: 116.3 kB / 397.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.006702, allocations: 11.89 kB / 397.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006713, allocations: 4 kB / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.006731, allocations: 0 / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.006748, allocations: 3.984 kB / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.006753, allocations: 7.938 kB / 397.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.006792, allocations: 127.2 kB / 397.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006792, allocations: 0 / 397.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.006929, allocations: 15.98 kB / 397.4 MB, free: 14.02 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 9.885e-05/0.007028, allocations: 111.2 kB / 397.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.007125, allocations: 43.61 kB / 397.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007126, allocations: 0 / 397.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.007159, allocations: 31.67 kB / 397.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.007261, allocations: 4 kB / 397.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.007515, allocations: 166.2 kB / 397.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.007549, allocations: 67.22 kB / 397.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.007573, allocations: 4 kB / 397.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.007602, allocations: 12.5 kB / 397.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.007603, allocations: 0 / 397.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of Templates: time 0.002204/0.009808, allocations: 0.8186 MB / 398.7 MB, free: 12.7 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.8351283189840615]