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.001384/0.001384, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.521/1.521, allocations: 230.6 MB / 250.5 MB, free: 9.211 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.001695/0.001695, allocations: 205.2 kB / 306.7 MB, free: 4.285 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.04068/0.04068, allocations: 8.91 MB / 371.7 MB, free: 3.422 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="cs",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.002867/0.002867, allocations: 87.86 kB / 496.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4349, allocations: 55.57 MB / 0.5391 GB, free: 26.59 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.001707/0.4366, allocations: 0.5033 MB / 0.5395 GB, free: 26.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000602/0.4372, allocations: 300.8 kB / 0.5398 GB, free: 26.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.4372, allocations: 3.125 kB / 0.5398 GB, free: 26.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.4373, allocations: 11.25 kB / 0.5398 GB, free: 26.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.4376, allocations: 54.78 kB / 0.5399 GB, free: 26.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.723e-05/0.4377, allocations: 10.33 kB / 0.5399 GB, free: 26.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.4378, allocations: 31.19 kB / 0.5399 GB, free: 26.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.4379, allocations: 6.609 kB / 0.5399 GB, free: 26.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.4379, allocations: 24.12 kB / 0.54 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.4382, allocations: 58.31 kB / 0.54 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.4382, allocations: 0 / 0.54 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.4383, allocations: 2.969 kB / 0.54 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.4383, allocations: 13.44 kB / 0.54 GB, free: 26.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.4383, allocations: 21.8 kB / 0.5401 GB, free: 26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.4384, allocations: 30.98 kB / 0.5401 GB, free: 25.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4384, allocations: 3.938 kB / 0.5401 GB, free: 25.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4384, allocations: 4 kB / 0.5401 GB, free: 25.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.4384, allocations: 0 / 0.5401 GB, free: 25.98 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.0004636/0.4389, allocations: 392.3 kB / 0.5405 GB, free: 25.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4389, allocations: 9.531 kB / 0.5405 GB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.797e-05/0.439, allocations: 75.47 kB / 0.5406 GB, free: 25.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.427e-05/0.439, allocations: 106 kB / 0.5407 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.4391, allocations: 90.78 kB / 0.5407 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4392, allocations: 251.9 kB / 0.541 GB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.4392, allocations: 161.8 kB / 0.5411 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4393, allocations: 153.8 kB / 0.5413 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.26e-05/0.4393, allocations: 108.8 kB / 0.5414 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4393, allocations: 75.28 kB / 0.5415 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.4394, allocations: 154.6 kB / 0.5416 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.4394, allocations: 153.7 kB / 0.5418 GB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.4394, allocations: 154.5 kB / 0.5419 GB, free: 24.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.4396, allocations: 470.2 kB / 0.5423 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.4397, allocations: 169.1 kB / 0.5425 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.4397, allocations: 80.14 kB / 0.5426 GB, free: 23.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4397, allocations: 75.28 kB / 0.5427 GB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4397, allocations: 113 kB / 0.5428 GB, free: 23.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4397, allocations: 0 / 0.5428 GB, free: 23.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.105e-05/0.4398, allocations: 44.31 kB / 0.5428 GB, free: 23.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4399, allocations: 130.7 kB / 0.5429 GB, free: 22.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.44, allocations: 146.9 kB / 0.5431 GB, free: 22.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.44, allocations: 28.8 kB / 0.5431 GB, free: 22.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.4401, allocations: 88.09 kB / 0.5432 GB, free: 22.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.4401, allocations: 2.938 kB / 0.5432 GB, free: 22.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.4401, allocations: 26.11 kB / 0.5432 GB, free: 22.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.4402, allocations: 314.8 kB / 0.5435 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.4402, allocations: 23.69 kB / 0.5435 GB, free: 22.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.4403, allocations: 59.05 kB / 0.5436 GB, free: 22.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.4404, allocations: 96.98 kB / 0.5437 GB, free: 22.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4404, allocations: 3.469 kB / 0.5437 GB, free: 22.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000415/0.4408, allocations: 321.5 kB / 0.544 GB, free: 21.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4408, allocations: 35.86 kB / 0.544 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4408, allocations: 2.844 kB / 0.544 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.441, allocations: 41.69 kB / 0.5441 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.4413, allocations: 28.95 kB / 0.5441 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.4439, allocations: 5.573 MB / 0.5495 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.444, allocations: 7.141 kB / 0.5495 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.444, allocations: 15.19 kB / 0.5496 GB, free: 16.14 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 0.000103/0.4441, allocations: 202.9 kB / 0.5498 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.4441, allocations: 108.2 kB / 0.5499 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.4442, allocations: 115.9 kB / 0.55 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.4442, allocations: 183.6 kB / 0.5501 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.28e-05/0.4442, allocations: 180.3 kB / 0.5503 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-05/0.4443, allocations: 183.4 kB / 0.5505 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.4444, allocations: 417.7 kB / 0.5509 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/0.4445, allocations: 105 kB / 0.551 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.4445, allocations: 105.9 kB / 0.5511 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.994e-05/0.4445, allocations: 183.4 kB / 0.5513 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.4446, allocations: 180.2 kB / 0.5514 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-05/0.4446, allocations: 179.6 kB / 0.5516 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-05/0.4447, allocations: 180.2 kB / 0.5518 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.479e-05/0.4448, allocations: 314.1 kB / 0.5521 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.4448, allocations: 193 kB / 0.5523 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.4448, allocations: 179.6 kB / 0.5524 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.4449, allocations: 113 kB / 0.5525 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.445, allocations: 183.8 kB / 0.5527 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.445, allocations: 101 kB / 0.5528 GB, free: 12.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.445, allocations: 119.7 kB / 0.5529 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.445, allocations: 0 / 0.5529 GB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.4453, allocations: 13.5 kB / 0.5529 GB, free: 12.55 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.0002427/0.4456, allocations: 0.8074 MB / 0.5537 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.4463, allocations: 339.4 kB / 0.5541 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4463, allocations: 0 / 0.5541 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.4463, allocations: 7.938 kB / 0.5541 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4466, allocations: 459.4 kB / 0.5545 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4483, allocations: 1.984 MB / 0.5564 GB, free: 25.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4486, allocations: 0.6922 MB / 0.5571 GB, free: 24.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.4486, allocations: 6.578 kB / 0.5571 GB, free: 24.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.4487, allocations: 15.44 kB / 0.5571 GB, free: 24.36 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4487, allocations: 0 / 0.5571 GB, free: 24.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4728, allocations: 1.968 MB / 0.5591 GB, free: 23.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.19, allocations: 10.05 kB / 0.5591 GB, free: 23.92 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_InitializationParameters_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.108437351009343] Failed to read output from testmodel.py, exit status != 0: 14.338212892995216 14.358593818 13.916258342 Calling exit ...