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.001174/0.001174, allocations: 81.17 kB / 19.87 MB, free: 4.621 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 0.9698/0.9698, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.001181/0.001181, allocations: 159.3 kB / 256.9 MB, free: 12.81 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.02348/0.02348, allocations: 6.657 MB / 320.1 MB, free: 26.35 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.934e-06/1.934e-06, allocations: 0 / 392.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.342e-05, allocations: 5.828 kB / 392.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.00494/0.004963, allocations: 1.235 MB / 393.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 5.544e-05/0.005019, allocations: 7.922 kB / 393.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.005048, allocations: 0 / 393.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.005067, allocations: 0 / 393.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.005116, allocations: 0 / 393.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-05/0.005157, allocations: 0 / 393.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.357e-05/0.005211, allocations: 15.92 kB / 393.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.005253, allocations: 4 kB / 393.3 MB, free: 1.012 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.00529, allocations: 7.938 kB / 393.3 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.005341, allocations: 3.984 kB / 393.3 MB, free: 1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.005355, allocations: 4 kB / 393.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-06/0.00536, allocations: 0 / 393.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.005373, allocations: 0 / 393.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.005391, allocations: 4 kB / 393.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.171e-05/0.005443, allocations: 7.938 kB / 393.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005445, allocations: 0 / 393.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005445, allocations: 0 / 393.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005448, allocations: 0 / 393.4 MB, free: 0.9844 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.0002918/0.00574, allocations: 344.4 kB / 393.7 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.005779, allocations: 8.031 kB / 393.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.005802, allocations: 13.23 kB / 393.7 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.954e-05/0.005872, allocations: 112.5 kB / 393.8 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.005881, allocations: 384 / 393.8 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.005887, allocations: 8.375 kB / 393.8 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.933e-05/0.005957, allocations: 53.61 kB / 393.9 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.005963, allocations: 192 / 393.9 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.005968, allocations: 384 / 393.9 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.005972, allocations: 384 / 393.9 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.009e-05/0.005982, allocations: 15.81 kB / 393.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.006261, allocations: 141 kB / 394 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.006304, allocations: 50.16 kB / 394.1 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.006321, allocations: 19.5 kB / 394.1 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-06/0.006329, allocations: 3.938 kB / 394.1 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.006352, allocations: 37.39 kB / 394.1 MB, free: 44 kB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.006353, allocations: 0 / 394.1 MB, free: 44 kB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001123/0.006465, allocations: 49.72 kB / 394.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.006498, allocations: 77.11 kB / 394.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.006567, allocations: 157.9 kB / 394.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.006577, allocations: 25.7 kB / 394.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.00661, allocations: 126.9 kB / 394.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.006633, allocations: 11.94 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.006661, allocations: 15.38 kB / 394.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.006781, allocations: 0.4883 MB / 395.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.006788, allocations: 0 / 395.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.006807, allocations: 27.64 kB / 395.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.006836, allocations: 27.38 kB / 395.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006839, allocations: 4 kB / 395.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.245e-05/0.006891, allocations: 41.62 kB / 395.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.006903, allocations: 8 kB / 395.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006907, allocations: 0 / 395.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006918, allocations: 0 / 395.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.00703, allocations: 28.05 kB / 395.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/0.01153, allocations: 3.546 MB / 398.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.01154, allocations: 4.031 kB / 398.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.01155, allocations: 0 / 398.8 MB, free: 11.1 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 7.166e-05/0.01162, allocations: 164.5 kB / 398.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-06/0.01163, allocations: 3.938 kB / 398.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-06/0.01163, allocations: 7.141 kB / 398.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01164, allocations: 4 kB / 398.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.01164, allocations: 0 / 398.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.01164, allocations: 0 / 398.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.01182, allocations: 133.2 kB / 399.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01183, allocations: 0 / 399.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.01191, allocations: 27.98 kB / 399.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01191, allocations: 7.875 kB / 399.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.01192, allocations: 4 kB / 399.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.01316, allocations: 3.546 MB / 402.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01316, allocations: 0 / 402.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.01622, allocations: 76.33 kB / 402.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.01623, allocations: 12.02 kB / 402.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-06/0.01624, allocations: 0 / 402.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.01625, allocations: 7.984 kB / 402.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.01627, allocations: 11.88 kB / 402.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.01627, allocations: 0 / 402.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.0163, allocations: 123.2 kB / 402.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0163, allocations: 0 / 402.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.01649, allocations: 0 / 402.9 MB, free: 6.695 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 7.903e-05/0.01657, allocations: 103.3 kB / 403 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.01681, allocations: 44.69 kB / 403 MB, free: 6.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01681, allocations: 0 / 403 MB, free: 6.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01694, allocations: 36.97 kB / 403.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.01707, allocations: 4.062 kB / 403.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.01742, allocations: 143.1 kB / 403.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.01745, allocations: 59.34 kB / 403.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.01752, allocations: 16 kB / 403.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.01761, allocations: 86.16 kB / 403.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01761, allocations: 0 / 403.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of Templates: time 0.005297/0.0229, allocations: 0.8925 MB / 404.3 MB, free: 5.258 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: 3.048581587150693]