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.008346/0.008346, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.36/1.36, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001215/0.001215, allocations: 196.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03367/0.03367, allocations: 8.79 MB / 348.6 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 80.2 kB / 463.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08752, allocations: 51.56 MB / 0.5029 GB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001484/0.08904, allocations: 0.5184 MB / 0.5034 GB, free: 9.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.0896, allocations: 296.1 kB / 0.5037 GB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.08965, allocations: 0 / 0.5037 GB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.0897, allocations: 3.938 kB / 0.5037 GB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.09004, allocations: 59.75 kB / 0.5037 GB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.493e-05/0.09011, allocations: 15.98 kB / 0.5038 GB, free: 9.141 MB / 350.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 NFFlatten.flatten: time 0.00011/0.09022, allocations: 23.92 kB / 0.5038 GB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.09027, allocations: 4 kB / 0.5038 GB, free: 9.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.09031, allocations: 7.984 kB / 0.5038 GB, free: 9.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.09058, allocations: 63.86 kB / 0.5039 GB, free: 9.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.0906, allocations: 4 kB / 0.5039 GB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.09062, allocations: 0 / 0.5039 GB, free: 9.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.09067, allocations: 27.84 kB / 0.5039 GB, free: 9.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.0907, allocations: 15.88 kB / 0.5039 GB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.09078, allocations: 23.92 kB / 0.5039 GB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09079, allocations: 3.938 kB / 0.5039 GB, free: 8.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.0908, allocations: 0 / 0.5039 GB, free: 8.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.09081, allocations: 0 / 0.5039 GB, free: 8.969 MB / 350.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.0004506/0.09126, allocations: 401.2 kB / 0.5043 GB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.0913, allocations: 8.031 kB / 0.5043 GB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.09135, allocations: 110 kB / 0.5044 GB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.09142, allocations: 84.12 kB / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.0916, allocations: 255.5 kB / 0.5047 GB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.09165, allocations: 154.9 kB / 0.5049 GB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.09171, allocations: 154.9 kB / 0.505 GB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.28e-05/0.09176, allocations: 101.5 kB / 0.5051 GB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.0918, allocations: 87.16 kB / 0.5052 GB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.09184, allocations: 154.6 kB / 0.5054 GB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.09189, allocations: 150.6 kB / 0.5055 GB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.09193, allocations: 150.6 kB / 0.5057 GB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.0922, allocations: 469.9 kB / 0.5061 GB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.09227, allocations: 173.1 kB / 0.5063 GB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.09231, allocations: 88.12 kB / 0.5064 GB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.09234, allocations: 75.28 kB / 0.5064 GB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.09238, allocations: 105.8 kB / 0.5065 GB, free: 6.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.09238, allocations: 0 / 0.5065 GB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.602e-05/0.09246, allocations: 41.55 kB / 0.5066 GB, free: 6.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.09251, allocations: 130.7 kB / 0.5067 GB, free: 5.926 MB / 350.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.000165/0.09268, allocations: 147.2 kB / 0.5068 GB, free: 5.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.0927, allocations: 25.7 kB / 0.5069 GB, free: 5.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.09275, allocations: 96.03 kB / 0.5069 GB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.09276, allocations: 0 / 0.5069 GB, free: 5.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.09281, allocations: 21.72 kB / 0.507 GB, free: 5.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.09291, allocations: 326.8 kB / 0.5073 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.09295, allocations: 15.94 kB / 0.5073 GB, free: 5.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.09301, allocations: 53.14 kB / 0.5073 GB, free: 5.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.09312, allocations: 94.78 kB / 0.5074 GB, free: 5.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.09313, allocations: 0 / 0.5074 GB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004144/0.09354, allocations: 331.2 kB / 0.5078 GB, free: 4.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.09359, allocations: 31.42 kB / 0.5078 GB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.0936, allocations: 7.938 kB / 0.5078 GB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.09378, allocations: 41.69 kB / 0.5078 GB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.09401, allocations: 27.97 kB / 0.5079 GB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.09732, allocations: 5.568 MB / 0.5133 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.0974, allocations: 12.12 kB / 0.5133 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.09742, allocations: 4 kB / 0.5133 GB, free: 14.45 MB / 366.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.000105/0.09753, allocations: 205 kB / 0.5135 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.09759, allocations: 116.8 kB / 0.5136 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.09764, allocations: 108.9 kB / 0.5137 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/0.09769, allocations: 180.3 kB / 0.5139 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.072e-05/0.09775, allocations: 184.2 kB / 0.5141 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.09781, allocations: 184.2 kB / 0.5142 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.09802, allocations: 421.1 kB / 0.5146 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.09805, allocations: 105 kB / 0.5147 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.09809, allocations: 109 kB / 0.5148 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-05/0.09814, allocations: 180.4 kB / 0.515 GB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.0982, allocations: 184.3 kB / 0.5152 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.072e-05/0.09825, allocations: 184.2 kB / 0.5154 GB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-05/0.09831, allocations: 176.3 kB / 0.5155 GB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.09842, allocations: 319.6 kB / 0.5158 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.0985, allocations: 186 kB / 0.516 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.09856, allocations: 184.2 kB / 0.5162 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.09863, allocations: 101 kB / 0.5163 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.09869, allocations: 184.2 kB / 0.5165 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.09872, allocations: 108.9 kB / 0.5166 GB, free: 10.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.533e-05/0.09879, allocations: 107.3 kB / 0.5167 GB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0988, allocations: 0 / 0.5167 GB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.09906, allocations: 19.92 kB / 0.5167 GB, free: 10.75 MB / 366.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.0002937/0.09936, allocations: 0.801 MB / 0.5175 GB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.1001, allocations: 352.5 kB / 0.5178 GB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1001, allocations: 0 / 0.5178 GB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.1001, allocations: 0 / 0.5178 GB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1004, allocations: 470 kB / 0.5183 GB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1019, allocations: 1.971 MB / 0.5202 GB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1021, allocations: 0.6963 MB / 0.5209 GB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.1021, allocations: 8 kB / 0.5209 GB, free: 6.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1022, allocations: 15.42 kB / 0.5209 GB, free: 6.152 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1022, allocations: 0 / 0.5209 GB, free: 6.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.122, allocations: 1.902 MB / 0.5227 GB, free: 4.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/11.98, allocations: 7.266 kB / 0.5228 GB, free: 4.375 MB / 366.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)