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.001448/0.001448, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.499/1.499, 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.001574/0.001574, allocations: 205.9 kB / 309.2 MB, free: 3.156 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.0419/0.0419, allocations: 8.918 MB / 374.6 MB, free: 1.902 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: "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) [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.002547/0.002547, allocations: 79.88 kB / 0.4892 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2744, allocations: 55.6 MB / 0.5435 GB, free: 26.77 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.001519/0.2759, allocations: 0.5063 MB / 0.544 GB, free: 26.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005166/0.2764, allocations: 310.6 kB / 0.5443 GB, free: 26.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.2765, allocations: 0 / 0.5443 GB, free: 26.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.2765, allocations: 3.938 kB / 0.5443 GB, free: 26.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.2769, allocations: 69.05 kB / 0.5444 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.527e-05/0.2769, allocations: 10.22 kB / 0.5444 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.277, allocations: 35.47 kB / 0.5444 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.2771, allocations: 3.188 kB / 0.5444 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.2771, allocations: 9.734 kB / 0.5444 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2774, allocations: 65.58 kB / 0.5445 GB, free: 26.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2774, allocations: 3.125 kB / 0.5445 GB, free: 26.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.2774, allocations: 0 / 0.5445 GB, free: 26.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2774, allocations: 20.33 kB / 0.5445 GB, free: 26.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.2775, allocations: 18.3 kB / 0.5445 GB, free: 26.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.783e-05/0.2775, allocations: 32.7 kB / 0.5446 GB, free: 26.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2775, allocations: 3.938 kB / 0.5446 GB, free: 26.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2775, allocations: 3.938 kB / 0.5446 GB, free: 26.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2775, allocations: 0 / 0.5446 GB, free: 26.15 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.0003542/0.2779, allocations: 315 kB / 0.5449 GB, free: 25.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2779, allocations: 9.781 kB / 0.5449 GB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.15e-05/0.278, allocations: 110 kB / 0.545 GB, free: 25.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.278, allocations: 83.27 kB / 0.5451 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2781, allocations: 198 kB / 0.5452 GB, free: 25.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2781, allocations: 154 kB / 0.5454 GB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.2782, allocations: 161.9 kB / 0.5455 GB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.079e-05/0.2782, allocations: 101.5 kB / 0.5456 GB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2782, allocations: 79.22 kB / 0.5457 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.2782, allocations: 150.6 kB / 0.5459 GB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2783, allocations: 154.5 kB / 0.546 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.2783, allocations: 157.5 kB / 0.5462 GB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2785, allocations: 436.8 kB / 0.5466 GB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.2785, allocations: 169.1 kB / 0.5467 GB, free: 23.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.2785, allocations: 83.23 kB / 0.5468 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2785, allocations: 83.22 kB / 0.5469 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2786, allocations: 109.8 kB / 0.547 GB, free: 23.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2786, allocations: 0 / 0.547 GB, free: 23.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.855e-05/0.2786, allocations: 36.69 kB / 0.547 GB, free: 23.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2787, allocations: 126.7 kB / 0.5472 GB, free: 23.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2788, allocations: 151.3 kB / 0.5473 GB, free: 23.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2788, allocations: 29.7 kB / 0.5473 GB, free: 23.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.2788, allocations: 102.6 kB / 0.5474 GB, free: 23.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.2788, allocations: 0 / 0.5474 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.2788, allocations: 23.31 kB / 0.5474 GB, free: 23.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.2789, allocations: 321.3 kB / 0.5478 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.2789, allocations: 12.75 kB / 0.5478 GB, free: 22.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.279, allocations: 56.77 kB / 0.5478 GB, free: 22.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.2791, allocations: 90.3 kB / 0.5479 GB, free: 22.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2791, allocations: 7.25 kB / 0.5479 GB, free: 22.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003557/0.2794, allocations: 172.5 kB / 0.5481 GB, free: 22.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2794, allocations: 32.58 kB / 0.5481 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2794, allocations: 0 / 0.5481 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.2796, allocations: 53.86 kB / 0.5482 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2799, allocations: 26.88 kB / 0.5482 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.2822, allocations: 5.161 MB / 0.5532 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.2823, allocations: 7.141 kB / 0.5532 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2823, allocations: 7.219 kB / 0.5532 GB, free: 17.3 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 7.497e-05/0.2824, allocations: 209.8 kB / 0.5534 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.2824, allocations: 108 kB / 0.5535 GB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.2824, allocations: 119.7 kB / 0.5537 GB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.2824, allocations: 179.5 kB / 0.5538 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/0.2825, allocations: 183.1 kB / 0.554 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.2825, allocations: 176.3 kB / 0.5542 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.2826, allocations: 400 kB / 0.5546 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.2826, allocations: 103.9 kB / 0.5546 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.2826, allocations: 101 kB / 0.5547 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/0.2827, allocations: 180.2 kB / 0.5549 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2827, allocations: 186.9 kB / 0.5551 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.286e-05/0.2827, allocations: 180.2 kB / 0.5553 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.168e-05/0.2827, allocations: 180.3 kB / 0.5554 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.088e-05/0.2828, allocations: 313.2 kB / 0.5557 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.2828, allocations: 108.5 kB / 0.5558 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.2829, allocations: 184.2 kB / 0.556 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.2829, allocations: 112 kB / 0.5561 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.283, allocations: 179.8 kB / 0.5563 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.283, allocations: 104.9 kB / 0.5564 GB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.283, allocations: 114.8 kB / 0.5565 GB, free: 13.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.283, allocations: 0 / 0.5565 GB, free: 13.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.2833, allocations: 13.59 kB / 0.5565 GB, free: 13.85 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 0.0001651/0.2835, allocations: 0.8048 MB / 0.5573 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.2841, allocations: 347.6 kB / 0.5576 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2841, allocations: 0 / 0.5576 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2841, allocations: 3.938 kB / 0.5576 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2844, allocations: 462.7 kB / 0.5581 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2855, allocations: 1.687 MB / 0.5597 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2856, allocations: 0.6918 MB / 0.5604 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2857, allocations: 4 kB / 0.5604 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.2857, allocations: 18.09 kB / 0.5604 GB, free: 10.03 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2857, allocations: 3.938 kB / 0.5604 GB, free: 10.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.317, allocations: 1.951 MB / 0.5623 GB, free: 9.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.06, allocations: 13 kB / 0.5623 GB, free: 9.594 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.InitializationParameters_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.84133684400149] Failed to read output from testmodel.py, exit status != 0: 13.176205552001193 13.188182656 12.907754997 Calling exit ...