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.0009214/0.0009214, allocations: 80.94 kB / 19.94 MB, free: 4.543 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 1.019/1.019, allocations: 177.2 MB / 200.3 MB, free: 5.312 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.001244/0.001244, allocations: 166.6 kB / 257 MB, free: 12.76 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.02531/0.02531, allocations: 6.652 MB / 266.9 MB, free: 3.016 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.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.012e-06/1.012e-06, allocations: 0 / 285.7 MB, free: 264 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.649e-05, allocations: 5.828 kB / 285.7 MB, free: 260 kB / 266.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.1199/0.1199, allocations: 0.5498 MB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005126/0.1204, allocations: 298.5 kB / 286.5 MB, free: 22.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1204, allocations: 3.016 kB / 286.5 MB, free: 22.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1204, allocations: 4.688 kB / 286.5 MB, free: 22.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1208, allocations: 69.64 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.863e-05/0.1209, allocations: 13.05 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.121, allocations: 27.22 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.495e-05/0.121, allocations: 3.219 kB / 286.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.121, allocations: 22.25 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1213, allocations: 59.86 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1213, allocations: 2.031 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.1213, allocations: 0.9062 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1214, allocations: 16.33 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.1214, allocations: 12.31 kB / 286.7 MB, free: 22.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.445e-05/0.1214, allocations: 30.7 kB / 286.8 MB, free: 22.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1214, allocations: 0.7969 kB / 286.8 MB, free: 22.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1215, allocations: 2.062 kB / 286.8 MB, free: 22.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1215, allocations: 0 / 286.8 MB, free: 22.24 MB / 266.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.0002354/0.1217, allocations: 290.8 kB / 287.1 MB, free: 21.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.1217, allocations: 8.531 kB / 287.1 MB, free: 21.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1217, allocations: 82.56 kB / 287.2 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.1218, allocations: 197.5 kB / 287.3 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1219, allocations: 153.8 kB / 287.5 MB, free: 21.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1219, allocations: 156.8 kB / 287.6 MB, free: 21.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.742e-05/0.1219, allocations: 104.2 kB / 287.7 MB, free: 21.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1219, allocations: 79.41 kB / 287.8 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.122, allocations: 152.1 kB / 288 MB, free: 21.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.122, allocations: 154.6 kB / 288.1 MB, free: 20.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.122, allocations: 155.6 kB / 288.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1221, allocations: 357.2 kB / 288.6 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.1222, allocations: 169.5 kB / 288.8 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.1222, allocations: 87.22 kB / 288.9 MB, free: 20.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1222, allocations: 80.31 kB / 289 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1222, allocations: 107.9 kB / 289.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1222, allocations: 1.375 kB / 289.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.747e-05/0.1223, allocations: 29.91 kB / 289.1 MB, free: 19.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.1223, allocations: 132.8 kB / 289.2 MB, free: 19.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1224, allocations: 147.1 kB / 289.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.1224, allocations: 25.7 kB / 289.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.1224, allocations: 88.78 kB / 289.5 MB, free: 19.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.1224, allocations: 0 / 289.5 MB, free: 19.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1225, allocations: 28.91 kB / 289.5 MB, free: 19.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.1225, allocations: 322.2 kB / 289.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.1225, allocations: 37.34 kB / 289.9 MB, free: 19.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.1226, allocations: 75.34 kB / 289.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.1226, allocations: 79 kB / 290 MB, free: 18.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1226, allocations: 0.9062 kB / 290 MB, free: 18.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002595/0.1229, allocations: 164.9 kB / 290.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1229, allocations: 34.8 kB / 290.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1229, allocations: 1 kB / 290.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.1231, allocations: 40.39 kB / 290.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1232, allocations: 27.16 kB / 290.3 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.1247, allocations: 4.774 MB / 295 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.1247, allocations: 6.875 kB / 295 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1247, allocations: 6.609 kB / 295.1 MB, free: 14.03 MB / 266.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 7.434e-05/0.1248, allocations: 193.9 kB / 295.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1248, allocations: 108.6 kB / 295.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.1249, allocations: 115.3 kB / 295.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.1249, allocations: 190.2 kB / 295.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.1249, allocations: 179.3 kB / 295.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/0.1249, allocations: 182 kB / 296 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.125, allocations: 324.3 kB / 296.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.1251, allocations: 106.9 kB / 296.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.1251, allocations: 106.6 kB / 296.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/0.1251, allocations: 178.1 kB / 296.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1251, allocations: 182.8 kB / 296.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-05/0.1251, allocations: 186.1 kB / 297.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-05/0.1252, allocations: 183.7 kB / 297.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/0.1252, allocations: 306.5 kB / 297.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.1253, allocations: 118.6 kB / 297.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1253, allocations: 179.2 kB / 297.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.1253, allocations: 111.3 kB / 297.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1253, allocations: 182 kB / 298.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1254, allocations: 105.9 kB / 298.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.1254, allocations: 28.12 kB / 298.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1254, allocations: 0 / 298.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000171/0.1256, allocations: 12.22 kB / 298.3 MB, free: 10.75 MB / 266.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 6.751e-05/0.1256, allocations: 154.5 kB / 298.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.126, allocations: 365.9 kB / 298.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.126, allocations: 1.25 kB / 298.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.126, allocations: 0 / 298.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1261, allocations: 464 kB / 299.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.1264, allocations: 221.7 kB / 299.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.1264, allocations: 60.38 kB / 299.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.1264, allocations: 4.422 kB / 299.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1265, allocations: 52.95 kB / 299.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1265, allocations: 0 / 299.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of Templates: time 0.002708/0.1292, allocations: 0.8705 MB / 300.4 MB, free: 9.406 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.548708680085838]