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.005859/0.005859, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.379 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.001701/0.001701, allocations: 192.5 kB / 289.7 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03568/0.03568, allocations: 8.805 MB / 348.7 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 79.86 kB / 463.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1007, allocations: 51.56 MB / 0.5029 GB, free: 9.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001549/0.1023, allocations: 0.5141 MB / 0.5034 GB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.1029, allocations: 300.1 kB / 0.5037 GB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1029, allocations: 7.938 kB / 0.5037 GB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.103, allocations: 0 / 0.5037 GB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1033, allocations: 59.75 kB / 0.5038 GB, free: 9.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.333e-05/0.1034, allocations: 7.984 kB / 0.5038 GB, free: 9.055 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.0001157/0.1035, allocations: 31.92 kB / 0.5038 GB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1036, allocations: 4.266 kB / 0.5038 GB, free: 9.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.1036, allocations: 15.98 kB / 0.5038 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.1041, allocations: 63.8 kB / 0.5039 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1041, allocations: 0 / 0.5039 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.1041, allocations: 0 / 0.5039 GB, free: 8.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.1042, allocations: 15.92 kB / 0.5039 GB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1042, allocations: 19.88 kB / 0.5039 GB, free: 8.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.166e-05/0.1043, allocations: 23.92 kB / 0.5039 GB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1043, allocations: 0 / 0.5039 GB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1043, allocations: 0 / 0.5039 GB, free: 8.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1043, allocations: 3.938 kB / 0.5039 GB, free: 8.879 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.0005564/0.1049, allocations: 407.3 kB / 0.5043 GB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1049, allocations: 8.031 kB / 0.5043 GB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.413e-05/0.105, allocations: 106 kB / 0.5044 GB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.1051, allocations: 88.16 kB / 0.5045 GB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1053, allocations: 259.5 kB / 0.5048 GB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.1054, allocations: 150.9 kB / 0.5049 GB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.1055, allocations: 158.9 kB / 0.5051 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.741e-05/0.1056, allocations: 101.5 kB / 0.5052 GB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.1056, allocations: 79.22 kB / 0.5052 GB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.1057, allocations: 154.6 kB / 0.5054 GB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/0.1057, allocations: 150.6 kB / 0.5055 GB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.67e-05/0.1058, allocations: 154.5 kB / 0.5057 GB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.1062, allocations: 473.9 kB / 0.5061 GB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1063, allocations: 169.1 kB / 0.5063 GB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.1063, allocations: 84.19 kB / 0.5064 GB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.1064, allocations: 75.28 kB / 0.5064 GB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.1064, allocations: 109.8 kB / 0.5065 GB, free: 6.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1064, allocations: 0 / 0.5065 GB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.644e-05/0.1065, allocations: 41.56 kB / 0.5066 GB, free: 5.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1066, allocations: 130.7 kB / 0.5067 GB, free: 5.832 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.0001842/0.1068, allocations: 151.2 kB / 0.5068 GB, free: 5.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1068, allocations: 29.64 kB / 0.5069 GB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.1069, allocations: 92.12 kB / 0.507 GB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.1069, allocations: 0 / 0.507 GB, free: 5.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.1069, allocations: 25.67 kB / 0.507 GB, free: 5.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1071, allocations: 318.8 kB / 0.5073 GB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.1072, allocations: 19.98 kB / 0.5073 GB, free: 5.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.1072, allocations: 57.14 kB / 0.5074 GB, free: 5.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1074, allocations: 90.73 kB / 0.5075 GB, free: 4.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1074, allocations: 4 kB / 0.5075 GB, free: 4.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004783/0.1078, allocations: 319.1 kB / 0.5078 GB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.1079, allocations: 44.02 kB / 0.5078 GB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1079, allocations: 0 / 0.5078 GB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.1081, allocations: 45.69 kB / 0.5078 GB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1084, allocations: 27.92 kB / 0.5079 GB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.1126, allocations: 5.572 MB / 0.5133 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.1127, allocations: 7.953 kB / 0.5133 GB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1127, allocations: 12.09 kB / 0.5133 GB, free: 14.34 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.0001359/0.1128, allocations: 209 kB / 0.5135 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.1129, allocations: 109 kB / 0.5136 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.113, allocations: 108.8 kB / 0.5137 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-05/0.1131, allocations: 180.3 kB / 0.5139 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.108e-05/0.1132, allocations: 188.2 kB / 0.5141 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.154e-05/0.1132, allocations: 180.2 kB / 0.5143 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1135, allocations: 413.2 kB / 0.5147 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-05/0.1136, allocations: 108.9 kB / 0.5148 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.1136, allocations: 109 kB / 0.5149 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.641e-05/0.1137, allocations: 184.4 kB / 0.515 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.211e-05/0.1138, allocations: 180.2 kB / 0.5152 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.801e-05/0.1139, allocations: 180.3 kB / 0.5154 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.938e-05/0.114, allocations: 184.2 kB / 0.5156 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1141, allocations: 319.6 kB / 0.5159 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.1142, allocations: 186 kB / 0.516 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.1143, allocations: 176.3 kB / 0.5162 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.1144, allocations: 108.9 kB / 0.5163 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.1145, allocations: 184.3 kB / 0.5165 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.1146, allocations: 104.9 kB / 0.5166 GB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.96e-05/0.1147, allocations: 111.2 kB / 0.5167 GB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1147, allocations: 0 / 0.5167 GB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1149, allocations: 15.94 kB / 0.5167 GB, free: 10.65 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.0004308/0.1154, allocations: 0.8009 MB / 0.5175 GB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007627/0.1162, allocations: 352.6 kB / 0.5178 GB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1162, allocations: 0 / 0.5178 GB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.1162, allocations: 4 kB / 0.5178 GB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1166, allocations: 464 kB / 0.5183 GB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1184, allocations: 1.979 MB / 0.5202 GB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1187, allocations: 0.6885 MB / 0.5209 GB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.1188, allocations: 0 / 0.5209 GB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1188, allocations: 19.42 kB / 0.5209 GB, free: 6.059 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1188, allocations: 4 kB / 0.5209 GB, free: 6.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.1445, allocations: 1.916 MB / 0.5228 GB, free: 4.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.53, allocations: 5.984 kB / 0.5228 GB, free: 4.266 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)