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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.000898, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 239.4 MB, free: 5.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009274/0.0009273, allocations: 180.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03253/0.03253, allocations: 8.806 MB / 350.5 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 11.44 kB / 413.9 MB, free: 42.74 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08402, allocations: 52.56 MB / 466.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0007678/0.08485, allocations: 246.3 kB / 466.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.08559, allocations: 296.2 kB / 467 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.08563, allocations: 4 kB / 467 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.08569, allocations: 7.938 kB / 467 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.08606, allocations: 39.89 kB / 467.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.653e-05/0.08614, allocations: 15.98 kB / 467.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.08621, allocations: 23.86 kB / 467.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.08627, allocations: 7.984 kB / 467.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.08635, allocations: 15.98 kB / 467.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.0867, allocations: 75.84 kB / 467.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.08673, allocations: 0 / 467.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.08675, allocations: 4 kB / 467.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.08682, allocations: 15.92 kB / 467.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.08688, allocations: 45.56 kB / 467.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.08696, allocations: 28.19 kB / 467.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.08698, allocations: 3.938 kB / 467.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.08698, allocations: 3.938 kB / 467.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.08699, allocations: 0 / 467.3 MB, free: 12.21 MB / 302.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.0005579/0.08756, allocations: 392.9 kB / 467.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.08761, allocations: 8.031 kB / 467.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.08767, allocations: 106 kB / 467.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.08777, allocations: 88.12 kB / 467.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.08799, allocations: 257.2 kB / 468.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.08807, allocations: 154.9 kB / 468.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.08816, allocations: 154.9 kB / 468.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.198e-05/0.08823, allocations: 101.5 kB / 468.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.08827, allocations: 83.22 kB / 468.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.08833, allocations: 154.6 kB / 468.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.08838, allocations: 154.5 kB / 468.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.08843, allocations: 158.6 kB / 469.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.08872, allocations: 461.9 kB / 469.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.397e-05/0.0888, allocations: 165.1 kB / 469.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.08883, allocations: 84.14 kB / 469.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.08886, allocations: 87.22 kB / 469.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.08892, allocations: 109.8 kB / 469.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.08892, allocations: 0 / 469.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.089, allocations: 37.55 kB / 470 MB, free: 9.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.08906, allocations: 126.7 kB / 470.1 MB, free: 9.18 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.08923, allocations: 147.4 kB / 470.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.08926, allocations: 29.7 kB / 470.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.08932, allocations: 96.03 kB / 470.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.08933, allocations: 0 / 470.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.08936, allocations: 17.72 kB / 470.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.08947, allocations: 318.8 kB / 470.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.08951, allocations: 15.98 kB / 470.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.08958, allocations: 61.08 kB / 470.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.08969, allocations: 86.8 kB / 470.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.0897, allocations: 4 kB / 470.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004316/0.09013, allocations: 323.1 kB / 471.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.09018, allocations: 33.7 kB / 471.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.09019, allocations: 0 / 471.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.0904, allocations: 49.81 kB / 471.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.09064, allocations: 27.98 kB / 471.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.09413, allocations: 5.189 MB / 476.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.09421, allocations: 7.906 kB / 476.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.09423, allocations: 7.938 kB / 476.5 MB, free: 2.113 MB / 302.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.0001151/0.09435, allocations: 205.2 kB / 476.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.09442, allocations: 112.8 kB / 476.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.09447, allocations: 112.8 kB / 476.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-05/0.09454, allocations: 180.3 kB / 477.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.776e-05/0.0946, allocations: 180.3 kB / 477.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.902e-05/0.09465, allocations: 188.2 kB / 477.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.09488, allocations: 413.2 kB / 477.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/0.09493, allocations: 112.9 kB / 478 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.09496, allocations: 101 kB / 478.1 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.082e-05/0.09504, allocations: 180.2 kB / 478.2 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.09511, allocations: 184.3 kB / 478.4 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-05/0.09518, allocations: 180.5 kB / 478.6 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.174e-05/0.09525, allocations: 188.2 kB / 478.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.09538, allocations: 307.7 kB / 479.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.09548, allocations: 198 kB / 479.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.09554, allocations: 176.3 kB / 479.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.09562, allocations: 104.9 kB / 479.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.09568, allocations: 180.3 kB / 479.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.09572, allocations: 104.9 kB / 479.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.0958, allocations: 117.2 kB / 479.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.09581, allocations: 4 kB / 479.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.09607, allocations: 8 kB / 480 MB, free: 14.43 MB / 318.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.0003555/0.09644, allocations: 0.8048 MB / 480.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.09717, allocations: 348.8 kB / 481.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09718, allocations: 0 / 481.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.09719, allocations: 0 / 481.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.09756, allocations: 0.5343 MB / 481.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.09909, allocations: 1.989 MB / 483.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.09935, allocations: 0.6887 MB / 484.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.09939, allocations: 8 kB / 484.3 MB, free: 9.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.09943, allocations: 15.42 kB / 484.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09944, allocations: 0 / 484.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.1119, allocations: 1.695 MB / 486 MB, free: 8.223 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.1121, allocations: 237.6 kB / 486.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.792, allocations: 3.938 kB / 486.3 MB, free: 7.965 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)