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.0008139/0.0008139, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002077, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.059/1.059, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2091/1.268, allocations: 53.65 MB / 242 MB, free: 2.625 MB / 234.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.001279/0.001279, allocations: 157.8 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002488, allocations: 466.8 kB / 243.4 MB, free: 1.297 MB / 234.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.02468/0.02468, allocations: 6.656 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004921/0.0296, allocations: 2.665 MB / 253.5 MB, free: 7.418 MB / 250.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 / 254.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.271e-05, allocations: 6.25 kB / 254.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001404/0.001416, allocations: 1.289 MB / 256 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 1.989e-05/0.001436, allocations: 11.98 kB / 256 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.001453, allocations: 0 / 256 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.372e-06/0.001459, allocations: 0 / 256 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.001482, allocations: 7.875 kB / 256 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.212e-05/0.001504, allocations: 0 / 256 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.888e-05/0.001553, allocations: 11.92 kB / 256.1 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.001594, allocations: 4 kB / 256.1 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.00164, allocations: 4 kB / 256.1 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.001693, allocations: 7.984 kB / 256.1 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.001713, allocations: 4 kB / 256.1 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.001719, allocations: 0 / 256.1 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.001736, allocations: 0 / 256.1 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.00175, allocations: 3.938 kB / 256.1 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.927e-05/0.001809, allocations: 4 kB / 256.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.001822, allocations: 0 / 256.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.001823, allocations: 0 / 256.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.001832, allocations: 0 / 256.1 MB, free: 4.789 MB / 250.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.0003278/0.00216, allocations: 224.7 kB / 256.3 MB, free: 4.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.002196, allocations: 16.03 kB / 256.3 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.002219, allocations: 0.9375 kB / 256.3 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.002313, allocations: 105.8 kB / 256.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.002324, allocations: 4.375 kB / 256.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.002336, allocations: 384 / 256.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.002428, allocations: 47.91 kB / 256.5 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002436, allocations: 192 / 256.5 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.002443, allocations: 384 / 256.5 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.002447, allocations: 384 / 256.5 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.006e-05/0.002457, allocations: 7.938 kB / 256.5 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.002708, allocations: 101.9 kB / 256.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.002754, allocations: 41.19 kB / 256.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.00277, allocations: 13.7 kB / 256.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.002779, allocations: 4.062 kB / 256.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.002801, allocations: 30.56 kB / 256.7 MB, free: 4.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.002802, allocations: 0 / 256.7 MB, free: 4.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001047/0.002907, allocations: 49.56 kB / 256.7 MB, free: 4.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.002951, allocations: 77.11 kB / 256.8 MB, free: 3.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.003018, allocations: 102.7 kB / 256.9 MB, free: 3.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.00303, allocations: 29.7 kB / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.003059, allocations: 84.14 kB / 257 MB, free: 3.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.00309, allocations: 7.938 kB / 257 MB, free: 3.699 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.003116, allocations: 13.72 kB / 257 MB, free: 3.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.003212, allocations: 318.8 kB / 257.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-06/0.003217, allocations: 384 / 257.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.003231, allocations: 17.72 kB / 257.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.003257, allocations: 13.72 kB / 257.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.003259, allocations: 0 / 257.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.606e-05/0.003305, allocations: 45.61 kB / 257.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.003319, allocations: 10.66 kB / 257.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.003324, allocations: 0 / 257.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.003336, allocations: 0 / 257.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.003426, allocations: 32.11 kB / 257.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.004451, allocations: 2.38 MB / 259.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.004465, allocations: 8 kB / 259.8 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.00447, allocations: 0 / 259.8 MB, free: 0.6719 MB / 250.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 5.309e-05/0.004523, allocations: 109.8 kB / 259.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.00453, allocations: 11.92 kB / 260 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-06/0.00454, allocations: 3.156 kB / 260 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-07/0.00454, allocations: 0 / 260 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.01e-07/0.004541, allocations: 0 / 260 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.004545, allocations: 4 kB / 260 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.004672, allocations: 101.9 kB / 260.1 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004673, allocations: 0 / 260.1 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.004733, allocations: 31.92 kB / 260.1 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.004739, allocations: 4 kB / 260.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.004741, allocations: 3.938 kB / 260.1 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.004745, allocations: 4 kB / 260.1 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008582/0.005604, allocations: 2.365 MB / 262.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.005606, allocations: 4 kB / 262.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.6e-05/0.005652, allocations: 74.11 kB / 262.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-06/0.005654, allocations: 0 / 262.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.005665, allocations: 7.938 kB / 262.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.005678, allocations: 0 / 262.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.00568, allocations: 0 / 262.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.2e-05/0.005692, allocations: 8.859 kB / 262.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.005692, allocations: 0 / 262.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001058/0.005797, allocations: 11.98 kB / 262.6 MB, free: 13.71 MB / 266.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 6.414e-05/0.005862, allocations: 76.48 kB / 262.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.006091, allocations: 45.84 kB / 262.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.006096, allocations: 4 kB / 262.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.006198, allocations: 42.19 kB / 262.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.778e-05/0.006286, allocations: 7.984 kB / 262.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.006902, allocations: 131.1 kB / 262.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.006935, allocations: 55.36 kB / 262.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.006983, allocations: 16.08 kB / 262.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.007048, allocations: 55.36 kB / 263 MB, free: 13.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007048, allocations: 0 / 263 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Templates: time 0.00221/0.009259, allocations: 0.8638 MB / 263.9 MB, free: 12.36 MB / 266.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: 2.6279256800189614]