Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.001854/0.001854, allocations: 81.5 kB / 19.44 MB, free: 344 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.593/1.593, 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.002019/0.002019, allocations: 171.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.03992/0.03992, allocations: 6.649 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.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.272e-05, allocations: 2.312 kB / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.003226/0.003259, allocations: 1.208 MB / 392.1 MB, free: 1.762 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 6.106e-05/0.00332, allocations: 11.91 kB / 392.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.003356, allocations: 4 kB / 392.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.003374, allocations: 0 / 392.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.992e-05/0.003434, allocations: 0 / 392.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.397e-05/0.003498, allocations: 4 kB / 392.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.003569, allocations: 7.938 kB / 392.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.00363, allocations: 3.984 kB / 392.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.003682, allocations: 8 kB / 392.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.003744, allocations: 0 / 392.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.003766, allocations: 4 kB / 392.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-06/0.003774, allocations: 7.938 kB / 392.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.003789, allocations: 0 / 392.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.003816, allocations: 3.984 kB / 392.2 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.226e-05/0.003878, allocations: 4 kB / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.003882, allocations: 0 / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003883, allocations: 0 / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.003888, allocations: 3.938 kB / 392.2 MB, free: 1.699 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005642/0.004452, allocations: 344.4 kB / 392.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.004504, allocations: 12.03 kB / 392.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.00455, allocations: 0.9375 kB / 392.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.004713, allocations: 120.6 kB / 392.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.004726, allocations: 384 / 392.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.004736, allocations: 384 / 392.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.004879, allocations: 49.62 kB / 392.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.004889, allocations: 192 / 392.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004899, allocations: 384 / 392.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.004909, allocations: 4.375 kB / 392.7 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.00494, allocations: 15.88 kB / 392.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.005595, allocations: 160.3 kB / 392.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005713, allocations: 58.16 kB / 392.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.005759, allocations: 19.44 kB / 392.9 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.005769, allocations: 0 / 392.9 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.005808, allocations: 33.39 kB / 393 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005809, allocations: 0 / 393 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.006015, allocations: 53.56 kB / 393 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.006094, allocations: 77.36 kB / 393.1 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.006253, allocations: 165.9 kB / 393.3 MB, free: 416 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.006278, allocations: 25.7 kB / 393.3 MB, free: 384 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.006382, allocations: 130.9 kB / 393.4 MB, free: 248 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.006414, allocations: 7.891 kB / 393.4 MB, free: 240 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.006463, allocations: 19.38 kB / 393.4 MB, free: 212 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003582/0.006821, allocations: 0.4884 MB / 393.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.006838, allocations: 0 / 393.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.006875, allocations: 19.38 kB / 393.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.006943, allocations: 35.5 kB / 394 MB, free: 15.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006945, allocations: 0 / 394 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.9e-05/0.007044, allocations: 45.62 kB / 394 MB, free: 15.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.007067, allocations: 8 kB / 394 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.007073, allocations: 0 / 394 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.00709, allocations: 0 / 394 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.007363, allocations: 23.98 kB / 394.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.01092, allocations: 3.603 MB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.01095, allocations: 0 / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.01096, allocations: 0 / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.01112, allocations: 164.8 kB / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.01114, allocations: 3.984 kB / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.01117, allocations: 11.16 kB / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01117, allocations: 0 / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01118, allocations: 4 kB / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01118, allocations: 0 / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.01167, allocations: 148.5 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01168, allocations: 4 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.01192, allocations: 23.98 kB / 398 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01192, allocations: 0 / 398 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01194, allocations: 4 kB / 398 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.01532, allocations: 3.592 MB / 401.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01532, allocations: 0 / 401.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.01547, allocations: 88.06 kB / 401.7 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.01549, allocations: 8 kB / 401.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.01549, allocations: 0 / 401.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.01552, allocations: 7.875 kB / 401.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.01556, allocations: 12.17 kB / 401.7 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-06/0.01556, allocations: 0 / 401.7 MB, free: 7.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.01565, allocations: 119.2 kB / 401.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01565, allocations: 0 / 401.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.01599, allocations: 4 kB / 401.8 MB, free: 7.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.01615, allocations: 95.25 kB / 401.9 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.01672, allocations: 52.77 kB / 402 MB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.01673, allocations: 0 / 402 MB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.01713, allocations: 44.72 kB / 402 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01735, allocations: 11.06 kB / 402 MB, free: 7.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.01774, allocations: 124 kB / 402.2 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.01784, allocations: 63.34 kB / 402.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.01796, allocations: 12 kB / 402.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01806, allocations: 24.47 kB / 402.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01806, allocations: 0 / 402.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of Templates: time 0.004832/0.02289, allocations: 0.8617 MB / 403.1 MB, free: 5.875 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.855220240075141]