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.0006995/0.0006995, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009292/0.001629, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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 0.9498/0.9498, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1949/1.145, allocations: 53.65 MB / 241.9 MB, free: 2.734 MB / 234.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.0008113/0.0008113, allocations: 152.4 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001867, allocations: 475 kB / 243.2 MB, free: 1.43 MB / 234.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.02436/0.02436, allocations: 6.651 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005349/0.0297, allocations: 2.666 MB / 253.3 MB, free: 7.566 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.553e-06/1.553e-06, allocations: 0 / 254.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.682e-05, allocations: 2.312 kB / 254.5 MB, free: 6.312 MB / 250.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.001831/0.001858, allocations: 0.5712 MB / 255.1 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004779/0.002336, allocations: 292.1 kB / 255.4 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.002371, allocations: 0 / 255.4 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.002404, allocations: 7.922 kB / 255.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.002745, allocations: 67.69 kB / 255.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.364e-05/0.002799, allocations: 11.98 kB / 255.5 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.002911, allocations: 23.92 kB / 255.5 MB, free: 5.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.002945, allocations: 3.984 kB / 255.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.003028, allocations: 27.91 kB / 255.5 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.003287, allocations: 55.88 kB / 255.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.003303, allocations: 0 / 255.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.003315, allocations: 0 / 255.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.003357, allocations: 15.94 kB / 255.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.003386, allocations: 8 kB / 255.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.003473, allocations: 35.84 kB / 255.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/0.003491, allocations: 3.984 kB / 255.7 MB, free: 5.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003491, allocations: 0 / 255.7 MB, free: 5.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.003508, allocations: 0 / 255.7 MB, free: 5.195 MB / 250.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.0004622/0.003971, allocations: 302.1 kB / 255.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.004007, allocations: 8.031 kB / 256 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.004069, allocations: 80.22 kB / 256 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.004226, allocations: 189 kB / 256.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.004276, allocations: 150.9 kB / 256.4 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.004329, allocations: 158.9 kB / 256.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.604e-05/0.004385, allocations: 105.5 kB / 256.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.004414, allocations: 83.41 kB / 256.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.004454, allocations: 150.9 kB / 256.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.004498, allocations: 158.9 kB / 257 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.004548, allocations: 158.5 kB / 257.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.004745, allocations: 357.3 kB / 257.5 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.586e-05/0.004821, allocations: 173.1 kB / 257.7 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.004848, allocations: 84.08 kB / 257.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.00487, allocations: 75.28 kB / 257.8 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.004915, allocations: 109.8 kB / 257.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.004916, allocations: 4 kB / 257.9 MB, free: 2.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.004989, allocations: 29.69 kB / 258 MB, free: 2.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.005041, allocations: 130.7 kB / 258.1 MB, free: 2.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.00516, allocations: 140.4 kB / 258.2 MB, free: 2.465 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.005175, allocations: 29.7 kB / 258.3 MB, free: 2.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.005214, allocations: 88.12 kB / 258.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.005216, allocations: 0 / 258.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.005273, allocations: 29.69 kB / 258.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.005368, allocations: 322.8 kB / 258.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.005411, allocations: 37.64 kB / 258.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.005465, allocations: 70.84 kB / 258.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.685e-05/0.005552, allocations: 82.77 kB / 258.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005554, allocations: 0 / 258.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003265/0.005881, allocations: 162.7 kB / 259 MB, free: 1.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.00595, allocations: 33.69 kB / 259.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.005961, allocations: 4 kB / 259.1 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.006153, allocations: 33.64 kB / 259.1 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.006358, allocations: 31.97 kB / 259.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.009367, allocations: 4.763 MB / 263.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.009425, allocations: 15.94 kB / 263.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.009437, allocations: 4.281 kB / 263.9 MB, free: 12.29 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 0.0001044/0.009541, allocations: 203.9 kB / 264.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.009591, allocations: 107.8 kB / 264.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.009638, allocations: 116.6 kB / 264.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/0.009688, allocations: 180.2 kB / 264.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.267e-05/0.009741, allocations: 184.2 kB / 264.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/0.009797, allocations: 184.2 kB / 264.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.009978, allocations: 325.4 kB / 265.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/0.01001, allocations: 101 kB / 265.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.01004, allocations: 112.9 kB / 265.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.01008, allocations: 112.9 kB / 265.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.202e-05/0.01014, allocations: 184.2 kB / 265.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.01019, allocations: 184.2 kB / 265.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.063e-05/0.01024, allocations: 176.3 kB / 266.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.996e-05/0.01029, allocations: 184.2 kB / 266.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.0104, allocations: 303.8 kB / 266.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.01046, allocations: 180.5 kB / 266.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.01053, allocations: 116.9 kB / 266.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.0106, allocations: 180.2 kB / 267 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.01063, allocations: 105 kB / 267.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.01067, allocations: 31.02 kB / 267.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01067, allocations: 0 / 267.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01092, allocations: 12 kB / 267.1 MB, free: 8.906 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 0.0001144/0.01103, allocations: 155.6 kB / 267.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005585/0.01159, allocations: 372.1 kB / 267.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.0116, allocations: 4 kB / 267.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.0116, allocations: 0 / 267.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.0119, allocations: 467.7 kB / 268.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.01231, allocations: 214.4 kB / 268.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01237, allocations: 59.34 kB / 268.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.0124, allocations: 8.125 kB / 268.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.01246, allocations: 55.36 kB / 268.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of SimCode: time 1.903e-06/0.01247, allocations: 0 / 268.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of Templates: time 0.003394/0.01586, allocations: 0.8729 MB / 269.3 MB, free: 6.621 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 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.548744616098702]