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.001265/0.001265, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.571/1.571, allocations: 230.6 MB / 252.6 MB, free: 8.32 MB / 206.1 MB " [Timeout remaining time 178] 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.001831/0.001831, allocations: 220.3 kB / 309.2 MB, free: 3.152 MB / 238.1 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.05694/0.05694, allocations: 8.907 MB / 374.6 MB, free: 1.914 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 87.86 kB / 0.4897 GB, free: 6.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3458, allocations: 55.61 MB / 0.544 GB, free: 27.12 MB / 382.1 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.001533/0.3473, allocations: 0.5132 MB / 0.5445 GB, free: 26.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005202/0.3478, allocations: 308 kB / 0.5448 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.3478, allocations: 0 / 0.5448 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.944e-05/0.3479, allocations: 0 / 0.5448 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.3483, allocations: 69.91 kB / 0.5448 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.891e-05/0.3484, allocations: 10.73 kB / 0.5448 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3485, allocations: 28.06 kB / 0.5449 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.3485, allocations: 7.422 kB / 0.5449 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.3486, allocations: 13.67 kB / 0.5449 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3489, allocations: 73.14 kB / 0.545 GB, free: 26.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3489, allocations: 3.938 kB / 0.545 GB, free: 26.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.3489, allocations: 3.25 kB / 0.545 GB, free: 26.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.3489, allocations: 13.59 kB / 0.545 GB, free: 26.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.349, allocations: 18.25 kB / 0.545 GB, free: 26.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.349, allocations: 29.97 kB / 0.545 GB, free: 26.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3491, allocations: 3.031 kB / 0.545 GB, free: 26.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.3491, allocations: 0 / 0.545 GB, free: 26.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3491, allocations: 0 / 0.545 GB, free: 26.52 MB / 382.1 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.000387/0.3494, allocations: 323.1 kB / 0.5453 GB, free: 26.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3495, allocations: 9.562 kB / 0.5454 GB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.3495, allocations: 83.42 kB / 0.5454 GB, free: 26.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3497, allocations: 195.9 kB / 0.5456 GB, free: 25.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.3497, allocations: 154.3 kB / 0.5458 GB, free: 25.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3497, allocations: 162.3 kB / 0.5459 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.433e-05/0.3498, allocations: 105 kB / 0.546 GB, free: 25.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3498, allocations: 75.47 kB / 0.5461 GB, free: 25.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3498, allocations: 158.4 kB / 0.5462 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.3498, allocations: 150.6 kB / 0.5464 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.3499, allocations: 150.6 kB / 0.5465 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.3501, allocations: 444.7 kB / 0.547 GB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/0.3501, allocations: 165.1 kB / 0.5471 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.3501, allocations: 84.08 kB / 0.5472 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3501, allocations: 75.28 kB / 0.5473 GB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3501, allocations: 113.1 kB / 0.5474 GB, free: 24.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3501, allocations: 0 / 0.5474 GB, free: 24.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.189e-05/0.3502, allocations: 40 kB / 0.5474 GB, free: 24.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3502, allocations: 126.7 kB / 0.5475 GB, free: 23.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3504, allocations: 148.6 kB / 0.5477 GB, free: 23.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.3504, allocations: 25.7 kB / 0.5477 GB, free: 23.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.3504, allocations: 91.12 kB / 0.5478 GB, free: 23.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.3504, allocations: 4 kB / 0.5478 GB, free: 23.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3505, allocations: 26.7 kB / 0.5478 GB, free: 23.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.3505, allocations: 321.4 kB / 0.5481 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.3505, allocations: 16.38 kB / 0.5481 GB, free: 23.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.3506, allocations: 60.73 kB / 0.5482 GB, free: 23.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.3507, allocations: 90.08 kB / 0.5483 GB, free: 23.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3507, allocations: 0 / 0.5483 GB, free: 23.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003511/0.351, allocations: 173.6 kB / 0.5484 GB, free: 23.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.351, allocations: 35.53 kB / 0.5485 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.351, allocations: 3.188 kB / 0.5485 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.3512, allocations: 39.8 kB / 0.5485 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3514, allocations: 32.64 kB / 0.5485 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.3537, allocations: 5.17 MB / 0.5536 GB, free: 17.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.3538, allocations: 18.3 kB / 0.5536 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3538, allocations: 3.344 kB / 0.5536 GB, free: 17.77 MB / 382.1 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 8.87e-05/0.3539, allocations: 199.2 kB / 0.5538 GB, free: 17.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3539, allocations: 116 kB / 0.5539 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.3539, allocations: 115.8 kB / 0.554 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-05/0.354, allocations: 179.7 kB / 0.5542 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.073e-05/0.354, allocations: 180.2 kB / 0.5544 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.354, allocations: 179.3 kB / 0.5545 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3542, allocations: 400.2 kB / 0.5549 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.3542, allocations: 101 kB / 0.555 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.3542, allocations: 101 kB / 0.5551 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/0.3542, allocations: 183.5 kB / 0.5553 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.3542, allocations: 180.3 kB / 0.5555 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.508e-05/0.3543, allocations: 183.6 kB / 0.5556 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.774e-05/0.3543, allocations: 187.3 kB / 0.5558 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/0.3544, allocations: 302.8 kB / 0.5561 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.3544, allocations: 115.9 kB / 0.5562 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.3544, allocations: 183.5 kB / 0.5564 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.3545, allocations: 101 kB / 0.5565 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3545, allocations: 187.8 kB / 0.5567 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3545, allocations: 108.2 kB / 0.5568 GB, free: 14.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.3546, allocations: 113.7 kB / 0.5569 GB, free: 14.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3546, allocations: 0 / 0.5569 GB, free: 14.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3548, allocations: 6.25 kB / 0.5569 GB, free: 14.33 MB / 382.1 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.798e-05/0.3549, allocations: 178.2 kB / 0.5571 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.3556, allocations: 345.4 kB / 0.5574 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3556, allocations: 0 / 0.5574 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.3556, allocations: 0 / 0.5574 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3559, allocations: 471 kB / 0.5578 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.3561, allocations: 234.2 kB / 0.5581 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3563, allocations: 0.6884 MB / 0.5587 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.599e-05/0.3563, allocations: 7.188 kB / 0.5587 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.3563, allocations: 11.38 kB / 0.5587 GB, free: 12.48 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3563, allocations: 0 / 0.5587 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Templates: time 0.003389/0.3597, allocations: 0.7671 MB / 0.5595 GB, free: 12.39 MB / 382.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1456820061430335] Failed to read output from testmodel.py, exit status != 0: 0.3677667921874672 0.379401802 0.027561957 Calling exit ...