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.0009872/0.0009872, allocations: 93.16 kB / 19.65 MB, free: 292 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.052/1.052, allocations: 177.1 MB / 200 MB, free: 5.547 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.002145/0.002145, allocations: 160.6 kB / 256.6 MB, free: 13 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.02368/0.02368, allocations: 6.662 MB / 319.8 MB, free: 26.54 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.894e-06/1.894e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.006e-05, allocations: 6.312 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002057/0.002087, allocations: 1.231 MB / 392.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 5.088e-05/0.002138, allocations: 3.984 kB / 392.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.002165, allocations: 0 / 392.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.00219, allocations: 4 kB / 392.9 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.002248, allocations: 11.92 kB / 392.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.522e-05/0.002303, allocations: 0 / 392.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002368, allocations: 7.938 kB / 392.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.002417, allocations: 0 / 392.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.002456, allocations: 11.98 kB / 392.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.00251, allocations: 7.938 kB / 392.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.002526, allocations: 0 / 392.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.99e-06/0.002531, allocations: 0 / 392.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002546, allocations: 0 / 392.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.002564, allocations: 4 kB / 392.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.584e-05/0.00263, allocations: 15.91 kB / 392.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002632, allocations: 0 / 392.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002633, allocations: 0 / 392.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.002637, allocations: 0 / 392.9 MB, free: 1.297 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.0003314/0.002969, allocations: 336.4 kB / 393.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.003008, allocations: 12.03 kB / 393.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.003043, allocations: 9.219 kB / 393.3 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.751e-05/0.003131, allocations: 116.6 kB / 393.4 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.003145, allocations: 4.312 kB / 393.4 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.003156, allocations: 4.375 kB / 393.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.003248, allocations: 45.64 kB / 393.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.003259, allocations: 192 / 393.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.003268, allocations: 4.312 kB / 393.4 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.003278, allocations: 4.375 kB / 393.4 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.003296, allocations: 7.922 kB / 393.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.003645, allocations: 156.3 kB / 393.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.003707, allocations: 66.12 kB / 393.7 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.003731, allocations: 15.44 kB / 393.7 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.003739, allocations: 4 kB / 393.7 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.003763, allocations: 33.39 kB / 393.7 MB, free: 344 kB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.003764, allocations: 0 / 393.7 MB, free: 344 kB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.003896, allocations: 45.64 kB / 393.8 MB, free: 292 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.003934, allocations: 81.09 kB / 393.8 MB, free: 192 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.004015, allocations: 162.1 kB / 394 MB, free: 12 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.004039, allocations: 25.7 kB / 394 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.004078, allocations: 130.9 kB / 394.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.004105, allocations: 3.953 kB / 394.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.004135, allocations: 19.38 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.004261, allocations: 492.1 kB / 394.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.004277, allocations: 7.984 kB / 394.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.004298, allocations: 27.31 kB / 394.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.004331, allocations: 19.56 kB / 394.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.004333, allocations: 4 kB / 394.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.457e-05/0.004398, allocations: 41.64 kB / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.004411, allocations: 8 kB / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004417, allocations: 0 / 394.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.004435, allocations: 3.984 kB / 394.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.004566, allocations: 27.98 kB / 394.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.006508, allocations: 3.583 MB / 398.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.006527, allocations: 4 kB / 398.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.006533, allocations: 0 / 398.4 MB, free: 11.34 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.435e-05/0.006608, allocations: 164.8 kB / 398.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.006614, allocations: 4 kB / 398.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-06/0.006623, allocations: 7.141 kB / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006624, allocations: 3.938 kB / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.006626, allocations: 4 kB / 398.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.006629, allocations: 3.984 kB / 398.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.006793, allocations: 148.5 kB / 398.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006795, allocations: 4 kB / 398.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.006864, allocations: 27.98 kB / 398.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006865, allocations: 0 / 398.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.006871, allocations: 0 / 398.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.007963, allocations: 3.58 MB / 402.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.007968, allocations: 4 kB / 402.3 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.722e-05/0.008025, allocations: 88 kB / 402.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.008031, allocations: 4 kB / 402.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-06/0.008034, allocations: 0 / 402.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.008044, allocations: 4.188 kB / 402.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.008062, allocations: 7.984 kB / 402.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.008064, allocations: 0 / 402.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.031e-05/0.008094, allocations: 123.2 kB / 402.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008094, allocations: 0 / 402.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.008232, allocations: 4 kB / 402.6 MB, free: 6.855 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.462e-05/0.008307, allocations: 95.25 kB / 402.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.008563, allocations: 52.77 kB / 402.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008564, allocations: 0 / 402.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.00867, allocations: 40.72 kB / 402.7 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.00878, allocations: 7.938 kB / 402.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.009202, allocations: 136 kB / 402.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.905e-05/0.009231, allocations: 51.36 kB / 402.9 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.009292, allocations: 19.98 kB / 402.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.00934, allocations: 24.47 kB / 403 MB, free: 6.367 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.009341, allocations: 0 / 403 MB, free: 6.367 MB / 330.7 MB Notification: Performance of Templates: time 0.002471/0.01181, allocations: 0.8545 MB / 403.8 MB, free: 5.516 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.1713334512896836]