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.001224/0.001224, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.363/1.363, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.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.001483/0.001483, allocations: 162.3 kB / 256 MB, free: 4.328 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.03767/0.03767, allocations: 6.664 MB / 319 MB, free: 5.391 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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.062e-05, allocations: 2.281 kB / 445.9 MB, free: 25.22 MB / 334.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.001198/0.001218, allocations: 0.5115 MB / 446.4 MB, free: 24.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005246/0.001743, allocations: 298.2 kB / 446.7 MB, free: 24.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.001772, allocations: 4 kB / 446.7 MB, free: 24.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.001822, allocations: 0 / 446.7 MB, free: 24.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.002259, allocations: 67.73 kB / 446.8 MB, free: 24.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.662e-05/0.002316, allocations: 7.969 kB / 446.8 MB, free: 24.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.00242, allocations: 39.78 kB / 446.8 MB, free: 24.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.002461, allocations: 0 / 446.8 MB, free: 24.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.00252, allocations: 15.98 kB / 446.8 MB, free: 24.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.002781, allocations: 67.84 kB / 446.9 MB, free: 24.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.002798, allocations: 4 kB / 446.9 MB, free: 24.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.00281, allocations: 3.938 kB / 446.9 MB, free: 24.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.002854, allocations: 11.98 kB / 446.9 MB, free: 24.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.002891, allocations: 11.94 kB / 446.9 MB, free: 24.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.002973, allocations: 23.97 kB / 446.9 MB, free: 24.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002975, allocations: 0 / 446.9 MB, free: 24.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002976, allocations: 0 / 446.9 MB, free: 24.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.00298, allocations: 0 / 446.9 MB, free: 24.17 MB / 334.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.0003767/0.003356, allocations: 327.8 kB / 447.3 MB, free: 23.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.003389, allocations: 11.98 kB / 447.3 MB, free: 23.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.003436, allocations: 84.17 kB / 447.3 MB, free: 23.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.003558, allocations: 196.9 kB / 447.5 MB, free: 23.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.003584, allocations: 154.9 kB / 447.7 MB, free: 23.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.003611, allocations: 158.9 kB / 447.8 MB, free: 23.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.325e-05/0.003654, allocations: 109.5 kB / 448 MB, free: 23.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.003668, allocations: 79.47 kB / 448 MB, free: 23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.003688, allocations: 154.9 kB / 448.2 MB, free: 22.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.003705, allocations: 154.9 kB / 448.3 MB, free: 22.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.003727, allocations: 154.5 kB / 448.5 MB, free: 22.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.003892, allocations: 413.6 kB / 448.9 MB, free: 22.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.003938, allocations: 177.1 kB / 449.1 MB, free: 21.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.003952, allocations: 80.14 kB / 449.1 MB, free: 21.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.003961, allocations: 75.28 kB / 449.2 MB, free: 21.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.003983, allocations: 105.8 kB / 449.3 MB, free: 21.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.003984, allocations: 0 / 449.3 MB, free: 21.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.585e-05/0.004049, allocations: 37.64 kB / 449.4 MB, free: 21.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.004079, allocations: 126.7 kB / 449.5 MB, free: 21.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.004184, allocations: 152.1 kB / 449.6 MB, free: 21.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.004194, allocations: 37.62 kB / 449.7 MB, free: 21.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.004223, allocations: 88.09 kB / 449.8 MB, free: 21.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.004225, allocations: 0 / 449.8 MB, free: 21.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.004259, allocations: 33.66 kB / 449.8 MB, free: 21.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.004299, allocations: 314.8 kB / 450.1 MB, free: 20.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.174e-05/0.004341, allocations: 45.69 kB / 450.1 MB, free: 20.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.004386, allocations: 78.84 kB / 450.2 MB, free: 20.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.004454, allocations: 94.78 kB / 450.3 MB, free: 20.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004456, allocations: 0 / 450.3 MB, free: 20.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003418/0.004798, allocations: 202.5 kB / 450.5 MB, free: 20.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.00482, allocations: 33.7 kB / 450.5 MB, free: 20.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004825, allocations: 4.188 kB / 450.5 MB, free: 20.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.00501, allocations: 49.67 kB / 450.6 MB, free: 20.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.005215, allocations: 27.97 kB / 450.6 MB, free: 20.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.007461, allocations: 5.059 MB / 455.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.00752, allocations: 15.91 kB / 455.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.00753, allocations: 4 kB / 455.7 MB, free: 14.72 MB / 334.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 9.297e-05/0.007623, allocations: 193.1 kB / 455.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.007667, allocations: 113 kB / 456 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.007695, allocations: 120.5 kB / 456.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/0.007731, allocations: 176.3 kB / 456.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.335e-05/0.007764, allocations: 196.2 kB / 456.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.007796, allocations: 176.3 kB / 456.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.007926, allocations: 368.8 kB / 457 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.007945, allocations: 105.1 kB / 457.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.007964, allocations: 105 kB / 457.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-05/0.007997, allocations: 184.2 kB / 457.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.008031, allocations: 180.3 kB / 457.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-05/0.008063, allocations: 180.2 kB / 457.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.761e-05/0.008091, allocations: 180.2 kB / 457.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.008158, allocations: 315.7 kB / 458.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.008188, allocations: 112.9 kB / 458.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.008219, allocations: 188.2 kB / 458.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.008271, allocations: 109 kB / 458.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.008305, allocations: 184.1 kB / 458.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.00832, allocations: 101 kB / 458.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.008367, allocations: 115.2 kB / 459 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.008367, allocations: 0 / 459 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.008617, allocations: 8 kB / 459 MB, free: 11.2 MB / 334.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.952e-05/0.008697, allocations: 170.5 kB / 459.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.009375, allocations: 370.4 kB / 459.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.009378, allocations: 0 / 459.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.00938, allocations: 7.938 kB / 459.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.009688, allocations: 458.6 kB / 460 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.009948, allocations: 236.4 kB / 460.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.009995, allocations: 79.22 kB / 460.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.252e-05/0.01002, allocations: 0 / 460.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.01004, allocations: 12.5 kB / 460.3 MB, free: 9.789 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.01004, allocations: 0 / 460.3 MB, free: 9.789 MB / 334.1 MB Notification: Performance of Templates: time 0.003371/0.01341, allocations: 0.8159 MB / 461.1 MB, free: 8.984 MB / 334.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: 4.294748838990927] Failed to read output from testmodel.py, exit status != 0: 0.019781015813350677 0.032061636000000004 0.02626863 Calling exit ...