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.001737/0.001737, allocations: 88.72 kB / 19.44 MB, free: 360 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.635/1.635, allocations: 177.1 MB / 199.7 MB, free: 5.797 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.001798/0.001798, allocations: 159.2 kB / 256.3 MB, free: 13.15 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.05503/0.05503, allocations: 6.654 MB / 319.4 MB, free: 26.56 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 1.953e-06/1.953e-06, allocations: 0 / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.782e-05/3.977e-05, allocations: 6.25 kB / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.004047/0.004087, allocations: 1.383 MB / 392.3 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.005964, allocations: 0.8448 MB / 393.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.006034, allocations: 0 / 393.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.006463, allocations: 87.5 kB / 393.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.006572, allocations: 15.86 kB / 393.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.007405, allocations: 270.8 kB / 393.5 MB, free: 376 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.007617, allocations: 43.78 kB / 393.5 MB, free: 332 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.007659, allocations: 0 / 393.5 MB, free: 332 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.007813, allocations: 27.91 kB / 393.6 MB, free: 304 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.007862, allocations: 4 kB / 393.6 MB, free: 300 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.007878, allocations: 3.938 kB / 393.6 MB, free: 296 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.008263, allocations: 123.7 kB / 393.7 MB, free: 172 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.008288, allocations: 3.984 kB / 393.7 MB, free: 168 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.008327, allocations: 7.938 kB / 393.7 MB, free: 160 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.008742, allocations: 151.5 kB / 393.8 MB, free: 8 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.008747, allocations: 4 kB / 393.8 MB, free: 4 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.008749, allocations: 0 / 393.8 MB, free: 4 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.008755, allocations: 0 / 393.8 MB, free: 4 kB / 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.001228/0.009983, allocations: 354 kB / 394.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.01004, allocations: 8.031 kB / 394.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.0101, allocations: 12.89 kB / 394.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.01027, allocations: 109.7 kB / 394.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.01028, allocations: 384 / 394.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.0103, allocations: 8.375 kB / 394.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.01048, allocations: 62.17 kB / 394.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01049, allocations: 192 / 394.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.0105, allocations: 384 / 394.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.01051, allocations: 3.938 kB / 394.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.01062, allocations: 35.98 kB / 394.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.01086, allocations: 121.3 kB / 394.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.01108, allocations: 70.55 kB / 394.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.01115, allocations: 24.98 kB / 394.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.01118, allocations: 4 kB / 394.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.01122, allocations: 42.5 kB / 394.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.01122, allocations: 0 / 394.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003126/0.01153, allocations: 101.6 kB / 394.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.01159, allocations: 55.34 kB / 394.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.01171, allocations: 101.9 kB / 394.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.01174, allocations: 29.7 kB / 395 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.01181, allocations: 84.12 kB / 395 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.01185, allocations: 19.86 kB / 395.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.01191, allocations: 17.72 kB / 395.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.01212, allocations: 318.8 kB / 395.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.01217, allocations: 16 kB / 395.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.01222, allocations: 23.94 kB / 395.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.01233, allocations: 53.47 kB / 395.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.01233, allocations: 4 kB / 395.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001766/0.01251, allocations: 77.69 kB / 395.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.01253, allocations: 8 kB / 395.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01254, allocations: 0 / 395.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.01257, allocations: 0 / 395.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.01272, allocations: 8 kB / 395.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.01273, allocations: 7.875 kB / 395.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.01278, allocations: 7.891 kB / 395.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.01279, allocations: 8 kB / 395.6 MB, free: 14.07 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.0001227/0.01291, allocations: 113.8 kB / 395.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.01293, allocations: 4 kB / 395.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.01319, allocations: 98.11 kB / 395.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.0132, allocations: 4 kB / 395.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.01321, allocations: 3.938 kB / 395.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01321, allocations: 0 / 395.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.01339, allocations: 125.2 kB / 395.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01339, allocations: 0 / 395.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01349, allocations: 27.86 kB / 396 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01349, allocations: 4 kB / 396 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.0135, allocations: 0 / 396 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01351, allocations: 0 / 396 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.01351, allocations: 4 kB / 396 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01374, allocations: 113.1 kB / 396.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.01375, allocations: 3.953 kB / 396.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01377, allocations: 7.984 kB / 396.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.788e-05/0.01382, allocations: 0 / 396.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.01384, allocations: 0 / 396.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01386, allocations: 7.938 kB / 396.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.01394, allocations: 91.33 kB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01394, allocations: 4 kB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.01417, allocations: 16 kB / 396.2 MB, free: 13.39 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.0001999/0.01437, allocations: 107.2 kB / 396.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.01455, allocations: 51.98 kB / 396.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01455, allocations: 0 / 396.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.01462, allocations: 35.92 kB / 396.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01479, allocations: 7.938 kB / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.01526, allocations: 160.5 kB / 396.6 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/0.01535, allocations: 71.27 kB / 396.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.01539, allocations: 8 kB / 396.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.01545, allocations: 12.5 kB / 396.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01545, allocations: 0 / 396.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Templates: time 0.00408/0.01953, allocations: 0.8146 MB / 397.5 MB, free: 12.07 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.325979685061611]