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.001064/0.001064, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.04/1.04, allocations: 177.1 MB / 200.5 MB, free: 5.832 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.001225/0.001225, allocations: 168.6 kB / 257 MB, free: 13.2 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.0238/0.0238, allocations: 6.665 MB / 320.1 MB, free: 26.58 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.843e-06/1.843e-06, allocations: 0 / 391.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.763e-05, allocations: 6.312 kB / 391.6 MB, free: 2.965 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.001025/0.001043, allocations: 0.5166 MB / 392.2 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000492/0.001534, allocations: 296.1 kB / 392.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.001574, allocations: 4 kB / 392.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.001625, allocations: 3.984 kB / 392.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.002046, allocations: 75.67 kB / 392.5 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.72e-05/0.002104, allocations: 11.92 kB / 392.5 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.002232, allocations: 27.91 kB / 392.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.002275, allocations: 0 / 392.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.002344, allocations: 23.91 kB / 392.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.002635, allocations: 55.88 kB / 392.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.002654, allocations: 4 kB / 392.7 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.002664, allocations: 4 kB / 392.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.002715, allocations: 19.91 kB / 392.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.002752, allocations: 15.92 kB / 392.7 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.626e-05/0.002848, allocations: 27.91 kB / 392.7 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00285, allocations: 0 / 392.7 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002851, allocations: 0 / 392.7 MB, free: 1.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.002855, allocations: 0 / 392.7 MB, free: 1.887 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.0004449/0.0033, allocations: 418.2 kB / 393.1 MB, free: 1.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.00334, allocations: 8.031 kB / 393.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.003408, allocations: 132.1 kB / 393.3 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.003568, allocations: 243.7 kB / 393.5 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.003628, allocations: 242.8 kB / 393.7 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.003691, allocations: 250.7 kB / 394 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.501e-05/0.003756, allocations: 149.5 kB / 394.1 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.00379, allocations: 119.4 kB / 394.2 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.003846, allocations: 242.7 kB / 394.5 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/0.003914, allocations: 238.8 kB / 394.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.003969, allocations: 242.3 kB / 395 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.004213, allocations: 0.5954 MB / 395.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.27e-05/0.004306, allocations: 277.4 kB / 395.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.00434, allocations: 126.9 kB / 395.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.004366, allocations: 119.2 kB / 396.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.004415, allocations: 160.6 kB / 396.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.004416, allocations: 0 / 396.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.318e-05/0.004479, allocations: 37.59 kB / 396.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.004534, allocations: 170.6 kB / 396.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.004682, allocations: 212.4 kB / 396.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.004696, allocations: 29.7 kB / 396.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.004756, allocations: 138.8 kB / 396.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.004759, allocations: 0 / 396.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.004796, allocations: 39.36 kB / 396.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.004922, allocations: 496.1 kB / 397.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.004961, allocations: 37.69 kB / 397.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.005019, allocations: 95.8 kB / 397.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.005097, allocations: 95.77 kB / 397.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0051, allocations: 7.938 kB / 397.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003082/0.005408, allocations: 184.2 kB / 397.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.005437, allocations: 37.64 kB / 397.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.005443, allocations: 0 / 397.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.005618, allocations: 43.53 kB / 397.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.005775, allocations: 27.92 kB / 397.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.008594, allocations: 7.093 MB / 404.9 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.008632, allocations: 7.953 kB / 404.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.008643, allocations: 4 kB / 404.9 MB, free: 4.848 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 0.000108/0.008751, allocations: 279.8 kB / 405.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.008799, allocations: 148.8 kB / 405.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.008843, allocations: 160.6 kB / 405.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.344e-05/0.008907, allocations: 264.1 kB / 405.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/0.008974, allocations: 276 kB / 406 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.438e-05/0.009048, allocations: 272.1 kB / 406.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.009256, allocations: 0.5038 MB / 406.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-05/0.009306, allocations: 156.8 kB / 407 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.00935, allocations: 144.9 kB / 407.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/0.00942, allocations: 272.2 kB / 407.4 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.0095, allocations: 268.1 kB / 407.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.385e-05/0.009574, allocations: 268.1 kB / 407.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.099e-05/0.009645, allocations: 276 kB / 408.2 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.009787, allocations: 447.9 kB / 408.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.009838, allocations: 148.9 kB / 408.7 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.009917, allocations: 280 kB / 409 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.009977, allocations: 152.9 kB / 409.2 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.01005, allocations: 264.1 kB / 409.4 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.01009, allocations: 156.8 kB / 409.6 MB, free: 4 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.1171/0.1272, allocations: 141.8 kB / 409.7 MB, free: 83.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1272, allocations: 0 / 409.7 MB, free: 83.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.1274, allocations: 7.719 kB / 409.7 MB, free: 83.66 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.337e-05/0.1275, allocations: 215.9 kB / 409.9 MB, free: 83.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.128, allocations: 482.3 kB / 410.4 MB, free: 83.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.128, allocations: 0 / 410.4 MB, free: 83.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.128, allocations: 4.875 kB / 410.4 MB, free: 83.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.1282, allocations: 0.7035 MB / 411.1 MB, free: 82.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.1284, allocations: 270.5 kB / 411.4 MB, free: 82.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.404e-05/0.1285, allocations: 60.27 kB / 411.4 MB, free: 82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.31e-05/0.1285, allocations: 7.453 kB / 411.4 MB, free: 82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.1285, allocations: 12.94 kB / 411.5 MB, free: 81.99 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1285, allocations: 0.5625 kB / 411.5 MB, free: 81.99 MB / 330.7 MB Notification: Performance of Templates: time 0.002585/0.1311, allocations: 0.8458 MB / 412.3 MB, free: 81.96 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.0849146789405495]