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.001173/0.001173, 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 1.08/1.08, allocations: 177.2 MB / 200 MB, free: 5.824 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.001432/0.001432, allocations: 168.6 kB / 256.6 MB, free: 13.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.03581/0.03581, allocations: 6.661 MB / 319.8 MB, free: 26.52 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.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.523e-06/1.523e-06, allocations: 0 / 391.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.468e-05, allocations: 6.312 kB / 391.6 MB, free: 2.582 MB / 314.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.001144/0.001169, allocations: 0.5201 MB / 392.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.001703, allocations: 304.1 kB / 392.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.001744, allocations: 0 / 392.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.001802, allocations: 0 / 392.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.002242, allocations: 71.67 kB / 392.5 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.974e-05/0.002291, allocations: 15.92 kB / 392.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.002389, allocations: 19.92 kB / 392.5 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.002424, allocations: 4 kB / 392.5 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.002487, allocations: 27.89 kB / 392.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.002733, allocations: 59.88 kB / 392.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.002748, allocations: 0 / 392.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.00276, allocations: 4 kB / 392.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.002802, allocations: 15.92 kB / 392.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.002833, allocations: 11.98 kB / 392.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.175e-05/0.002915, allocations: 31.84 kB / 392.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002917, allocations: 0 / 392.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.002918, allocations: 0 / 392.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.002922, allocations: 0 / 392.7 MB, free: 1.508 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003878/0.00331, allocations: 418.2 kB / 393.1 MB, free: 1.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.003349, allocations: 16.02 kB / 393.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.003408, allocations: 128.1 kB / 393.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.003552, allocations: 243.7 kB / 393.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.003608, allocations: 242.8 kB / 393.7 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.003684, allocations: 250.7 kB / 394 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.074e-05/0.003765, allocations: 145.5 kB / 394.1 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.003811, allocations: 119.4 kB / 394.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.003867, allocations: 242.8 kB / 394.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/0.003922, allocations: 238.8 kB / 394.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.003982, allocations: 246.3 kB / 394.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004241, allocations: 0.5915 MB / 395.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.004344, allocations: 277.4 kB / 395.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.004381, allocations: 126.9 kB / 395.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.004411, allocations: 119.2 kB / 396 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.004454, allocations: 152.6 kB / 396.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.004455, allocations: 0 / 396.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.631e-05/0.004512, allocations: 37.59 kB / 396.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.004559, allocations: 178.6 kB / 396.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.004719, allocations: 208.7 kB / 396.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.004732, allocations: 33.64 kB / 396.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.004783, allocations: 142.8 kB / 396.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.004785, allocations: 0 / 396.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.004824, allocations: 31.36 kB / 396.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.004937, allocations: 0.4884 MB / 397.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.004981, allocations: 37.69 kB / 397.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.005035, allocations: 91.8 kB / 397.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.005118, allocations: 103.8 kB / 397.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.005121, allocations: 0 / 397.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003161/0.005437, allocations: 184.2 kB / 397.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.005465, allocations: 37.64 kB / 397.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.00547, allocations: 4 kB / 397.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.005701, allocations: 43.53 kB / 397.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.005851, allocations: 31.91 kB / 397.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.008756, allocations: 7.089 MB / 404.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.008791, allocations: 7.953 kB / 404.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.008799, allocations: 0 / 404.9 MB, free: 4.473 MB / 330.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 9.991e-05/0.008899, allocations: 279.8 kB / 405.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.00895, allocations: 152.8 kB / 405.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.008995, allocations: 160.7 kB / 405.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/0.009056, allocations: 268.1 kB / 405.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-05/0.009117, allocations: 272 kB / 406 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/0.009182, allocations: 272.1 kB / 406.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.009359, allocations: 0.5038 MB / 406.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-05/0.009399, allocations: 152.8 kB / 406.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.009434, allocations: 144.9 kB / 407.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.195e-05/0.009496, allocations: 268.2 kB / 407.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/0.009569, allocations: 272.1 kB / 407.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.13e-05/0.00963, allocations: 264.1 kB / 407.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.979e-05/0.0097, allocations: 276 kB / 408.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.009828, allocations: 455.9 kB / 408.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.009876, allocations: 148.9 kB / 408.7 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.009941, allocations: 272.1 kB / 409 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.009999, allocations: 156.8 kB / 409.1 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1207/0.1307, allocations: 264.1 kB / 409.4 MB, free: 82.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1307, allocations: 151.7 kB / 409.5 MB, free: 82.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.1308, allocations: 145.1 kB / 409.7 MB, free: 82.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1308, allocations: 0 / 409.7 MB, free: 82.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000307/0.1311, allocations: 11.78 kB / 409.7 MB, free: 82.44 MB / 330.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 7.473e-05/0.1312, allocations: 211.9 kB / 409.9 MB, free: 82.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.1317, allocations: 487.6 kB / 410.4 MB, free: 81.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1317, allocations: 0.625 kB / 410.4 MB, free: 81.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.1318, allocations: 1.031 kB / 410.4 MB, free: 81.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.132, allocations: 0.7051 MB / 411.1 MB, free: 81.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.1322, allocations: 269.8 kB / 411.4 MB, free: 80.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.1323, allocations: 62.91 kB / 411.4 MB, free: 80.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.32e-05/0.1323, allocations: 6.609 kB / 411.4 MB, free: 80.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.1323, allocations: 11.86 kB / 411.4 MB, free: 80.77 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1323, allocations: 0.9844 kB / 411.4 MB, free: 80.77 MB / 330.7 MB Notification: Performance of Templates: time 0.002969/0.1353, allocations: 0.8435 MB / 412.3 MB, free: 80.73 MB / 330.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: 3.1920880554243922]