Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.001478/0.001478, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9755/0.9755, allocations: 177.1 MB / 200 MB, free: 5.535 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.001412/0.001412, allocations: 164.6 kB / 256.6 MB, free: 12.98 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.06818/0.06818, allocations: 6.653 MB / 319.8 MB, free: 11.75 MB / 298.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.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 391.6 MB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.718e-05, allocations: 5.828 kB / 391.6 MB, free: 3.801 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.004394/0.004421, allocations: 0.5091 MB / 392.1 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.004946, allocations: 304 kB / 392.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.004977, allocations: 0 / 392.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.005025, allocations: 0 / 392.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.00544, allocations: 67.67 kB / 392.5 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.14e-05/0.005491, allocations: 15.98 kB / 392.5 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.005603, allocations: 39.83 kB / 392.6 MB, free: 2.871 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.005639, allocations: 0 / 392.6 MB, free: 2.871 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.005702, allocations: 19.92 kB / 392.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.005969, allocations: 63.84 kB / 392.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.005984, allocations: 0 / 392.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.005995, allocations: 0 / 392.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.006042, allocations: 19.92 kB / 392.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.006073, allocations: 12 kB / 392.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 8.629e-05/0.006159, allocations: 27.84 kB / 392.7 MB, free: 2.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006162, allocations: 4 kB / 392.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006163, allocations: 0 / 392.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.006167, allocations: 0 / 392.7 MB, free: 2.727 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000426/0.006593, allocations: 422.1 kB / 393.1 MB, free: 2.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.006628, allocations: 8.031 kB / 393.1 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.006693, allocations: 124.1 kB / 393.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.00987, allocations: 243.7 kB / 393.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.009935, allocations: 246.8 kB / 393.7 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.01, allocations: 246.7 kB / 394 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.01007, allocations: 149.4 kB / 394.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.0101, allocations: 119.4 kB / 394.2 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.01016, allocations: 238.8 kB / 394.5 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/0.01022, allocations: 242.8 kB / 394.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.01028, allocations: 246.3 kB / 394.9 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.01057, allocations: 0.5914 MB / 395.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.01066, allocations: 269.4 kB / 395.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.0107, allocations: 134.9 kB / 395.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.01073, allocations: 123.2 kB / 396 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.01078, allocations: 156.6 kB / 396.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.01079, allocations: 0 / 396.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.077e-05/0.01086, allocations: 29.7 kB / 396.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.01092, allocations: 174.6 kB / 396.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.01106, allocations: 209.7 kB / 396.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.01108, allocations: 33.64 kB / 396.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.01113, allocations: 138.9 kB / 396.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.01113, allocations: 0 / 396.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.01118, allocations: 31.38 kB / 396.8 MB, free: 14.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.0113, allocations: 0.4884 MB / 397.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.01135, allocations: 37.7 kB / 397.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.01141, allocations: 91.81 kB / 397.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.0115, allocations: 99.75 kB / 397.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0115, allocations: 0 / 397.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003661/0.01187, allocations: 188.2 kB / 397.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.0119, allocations: 37.64 kB / 397.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.0119, allocations: 0 / 397.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.01232, allocations: 43.34 kB / 397.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01249, allocations: 32.17 kB / 397.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.01862, allocations: 7.077 MB / 404.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.02169, allocations: 7.953 kB / 404.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.02171, allocations: 8.469 kB / 404.9 MB, free: 5.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003345/0.02204, allocations: 287.7 kB / 405.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.0221, allocations: 156.8 kB / 405.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.02214, allocations: 156.4 kB / 405.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/0.0222, allocations: 272.1 kB / 405.8 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.604e-05/0.02226, allocations: 268 kB / 406 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.913e-05/0.02232, allocations: 272 kB / 406.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.0225, allocations: 0.5038 MB / 406.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/0.02254, allocations: 152.8 kB / 406.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.02257, allocations: 148.9 kB / 407.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.45e-05/0.02263, allocations: 268.2 kB / 407.3 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.0227, allocations: 276 kB / 407.6 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.744e-05/0.02275, allocations: 268.1 kB / 407.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.686e-05/0.02281, allocations: 272 kB / 408.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.02298, allocations: 455.9 kB / 408.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.02303, allocations: 156.8 kB / 408.7 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.02308, allocations: 264.1 kB / 409 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.02313, allocations: 148.8 kB / 409.1 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.02319, allocations: 268.1 kB / 409.4 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.02322, allocations: 160.8 kB / 409.6 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.02327, allocations: 150.1 kB / 409.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02327, allocations: 0 / 409.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000181/0.02345, allocations: 12 kB / 409.7 MB, free: 0.6914 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0001124/0.02356, allocations: 210.4 kB / 409.9 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005488/0.02411, allocations: 488.5 kB / 410.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02411, allocations: 0 / 410.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.02411, allocations: 0 / 410.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.0244, allocations: 0.7062 MB / 411.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.02467, allocations: 273.2 kB / 411.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.0247, allocations: 59.34 kB / 411.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.02473, allocations: 4.188 kB / 411.4 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.02475, allocations: 20.42 kB / 411.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02475, allocations: 0 / 411.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of Templates: time 0.002915/0.02767, allocations: 0.8556 MB / 412.3 MB, free: 13.98 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9996642689220607]