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.006952/0.006952, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.449/1.449, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001517/0.001517, allocations: 196.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03524/0.03524, allocations: 8.792 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 83.86 kB / 463.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1091, allocations: 51.56 MB / 0.5029 GB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001671/0.1108, allocations: 0.5124 MB / 0.5034 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.1115, allocations: 296.2 kB / 0.5037 GB, free: 9.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.1116, allocations: 0 / 0.5037 GB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.1117, allocations: 3.938 kB / 0.5037 GB, free: 9.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.1121, allocations: 59.81 kB / 0.5037 GB, free: 9.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.936e-05/0.1122, allocations: 19.92 kB / 0.5038 GB, free: 9.129 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.0001466/0.1124, allocations: 23.86 kB / 0.5038 GB, free: 9.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.1124, allocations: 0 / 0.5038 GB, free: 9.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.1125, allocations: 19.97 kB / 0.5038 GB, free: 9.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.1128, allocations: 55.88 kB / 0.5039 GB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1129, allocations: 4 kB / 0.5039 GB, free: 9.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.1129, allocations: 4 kB / 0.5039 GB, free: 9.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.1129, allocations: 19.92 kB / 0.5039 GB, free: 9.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.113, allocations: 15.86 kB / 0.5039 GB, free: 8.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.376e-05/0.1131, allocations: 27.91 kB / 0.5039 GB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1131, allocations: 0 / 0.5039 GB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1131, allocations: 0 / 0.5039 GB, free: 8.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1131, allocations: 0 / 0.5039 GB, free: 8.961 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.0006219/0.1138, allocations: 397.2 kB / 0.5043 GB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1138, allocations: 15.91 kB / 0.5043 GB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.1139, allocations: 110 kB / 0.5044 GB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.1139, allocations: 84.12 kB / 0.5045 GB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1141, allocations: 253.1 kB / 0.5047 GB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.1142, allocations: 158.9 kB / 0.5049 GB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.1143, allocations: 154.9 kB / 0.505 GB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.1143, allocations: 105.5 kB / 0.5051 GB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.1144, allocations: 79.22 kB / 0.5052 GB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.1144, allocations: 154.5 kB / 0.5054 GB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.1145, allocations: 154.6 kB / 0.5055 GB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.1145, allocations: 150.6 kB / 0.5057 GB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.1148, allocations: 477.8 kB / 0.5061 GB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/0.1149, allocations: 165.1 kB / 0.5063 GB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.1149, allocations: 88.19 kB / 0.5064 GB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.115, allocations: 75.28 kB / 0.5064 GB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.115, allocations: 109.8 kB / 0.5065 GB, free: 6.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.115, allocations: 0 / 0.5065 GB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.548e-05/0.1151, allocations: 45.48 kB / 0.5066 GB, free: 6.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.1152, allocations: 126.7 kB / 0.5067 GB, free: 5.91 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.000167/0.1153, allocations: 147.1 kB / 0.5068 GB, free: 5.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1154, allocations: 25.7 kB / 0.5069 GB, free: 5.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1154, allocations: 92.05 kB / 0.5069 GB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.1154, allocations: 0 / 0.5069 GB, free: 5.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1155, allocations: 29.7 kB / 0.507 GB, free: 5.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1156, allocations: 318.8 kB / 0.5073 GB, free: 5.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.1156, allocations: 15.98 kB / 0.5073 GB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.1157, allocations: 53.14 kB / 0.5073 GB, free: 5.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1158, allocations: 98.72 kB / 0.5074 GB, free: 5.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1158, allocations: 0 / 0.5074 GB, free: 5.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004659/0.1163, allocations: 323.2 kB / 0.5077 GB, free: 4.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.1163, allocations: 33.69 kB / 0.5078 GB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1163, allocations: 8 kB / 0.5078 GB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.1166, allocations: 41.69 kB / 0.5078 GB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1168, allocations: 27.92 kB / 0.5079 GB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.1205, allocations: 5.572 MB / 0.5133 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1205, allocations: 11.91 kB / 0.5133 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1206, allocations: 8 kB / 0.5133 GB, free: 14.43 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.0001348/0.1207, allocations: 204.9 kB / 0.5135 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.1208, allocations: 108.9 kB / 0.5136 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1208, allocations: 120.9 kB / 0.5137 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.979e-05/0.1209, allocations: 180.2 kB / 0.5139 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.633e-05/0.121, allocations: 176.3 kB / 0.5141 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-05/0.121, allocations: 184.1 kB / 0.5142 GB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1212, allocations: 425.1 kB / 0.5147 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.1213, allocations: 109 kB / 0.5148 GB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.1213, allocations: 104.9 kB / 0.5149 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.657e-05/0.1214, allocations: 176.4 kB / 0.515 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.1215, allocations: 184.2 kB / 0.5152 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-05/0.1215, allocations: 180.3 kB / 0.5154 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.151e-05/0.1216, allocations: 184.2 kB / 0.5155 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.1218, allocations: 311.7 kB / 0.5158 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.1219, allocations: 193.9 kB / 0.516 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.1219, allocations: 180.3 kB / 0.5162 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.122, allocations: 105 kB / 0.5163 GB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.1221, allocations: 184.2 kB / 0.5165 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1222, allocations: 101 kB / 0.5166 GB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.933e-05/0.1222, allocations: 113.1 kB / 0.5167 GB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1222, allocations: 0 / 0.5167 GB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1225, allocations: 15.94 kB / 0.5167 GB, free: 10.73 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.0003276/0.1229, allocations: 0.8048 MB / 0.5175 GB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.1236, allocations: 348.6 kB / 0.5178 GB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1236, allocations: 0 / 0.5178 GB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.1236, allocations: 384 / 0.5178 GB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1239, allocations: 459.7 kB / 0.5183 GB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1256, allocations: 1.979 MB / 0.5202 GB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1258, allocations: 0.6923 MB / 0.5209 GB, free: 6.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.1259, allocations: 12 kB / 0.5209 GB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.1259, allocations: 15.42 kB / 0.5209 GB, free: 6.141 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1259, allocations: 0 / 0.5209 GB, free: 6.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1455, allocations: 1.94 MB / 0.5228 GB, free: 4.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.65, allocations: 8.016 kB / 0.5228 GB, free: 4.324 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)