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.006506/0.006506, allocations: 103.7 kB / 15.74 MB, free: 6.043 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.487/1.487, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001452/0.001452, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03756/0.03756, allocations: 8.796 MB / 348.7 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 75.88 kB / 463.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1117, allocations: 51.56 MB / 0.5029 GB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001883/0.1137, allocations: 0.5144 MB / 0.5034 GB, free: 9.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.1145, allocations: 304 kB / 0.5037 GB, free: 9.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1145, allocations: 3.938 kB / 0.5037 GB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.796e-05/0.1146, allocations: 0 / 0.5037 GB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.115, allocations: 59.75 kB / 0.5037 GB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.447e-05/0.1151, allocations: 15.98 kB / 0.5038 GB, free: 9.234 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.0001478/0.1152, allocations: 23.92 kB / 0.5038 GB, free: 9.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.1153, allocations: 4.281 kB / 0.5038 GB, free: 9.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.1154, allocations: 19.97 kB / 0.5038 GB, free: 9.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.1157, allocations: 59.81 kB / 0.5039 GB, free: 9.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1157, allocations: 0 / 0.5039 GB, free: 9.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.1157, allocations: 0 / 0.5039 GB, free: 9.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1158, allocations: 15.92 kB / 0.5039 GB, free: 9.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.1158, allocations: 23.86 kB / 0.5039 GB, free: 9.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.805e-05/0.1159, allocations: 23.92 kB / 0.5039 GB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1159, allocations: 0 / 0.5039 GB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1159, allocations: 0 / 0.5039 GB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1159, allocations: 3.938 kB / 0.5039 GB, free: 9.062 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.0006023/0.1165, allocations: 404.8 kB / 0.5043 GB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1166, allocations: 12.03 kB / 0.5043 GB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.1167, allocations: 106 kB / 0.5044 GB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.1168, allocations: 84.22 kB / 0.5045 GB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.117, allocations: 255.5 kB / 0.5048 GB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.1171, allocations: 154.9 kB / 0.5049 GB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.1171, allocations: 154.9 kB / 0.5051 GB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.1172, allocations: 105.5 kB / 0.5052 GB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.1173, allocations: 87.2 kB / 0.5052 GB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.1174, allocations: 150.6 kB / 0.5054 GB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/0.1174, allocations: 150.6 kB / 0.5055 GB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.1175, allocations: 154.5 kB / 0.5057 GB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.1179, allocations: 477.8 kB / 0.5061 GB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1181, allocations: 169.1 kB / 0.5063 GB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1181, allocations: 84.19 kB / 0.5064 GB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1181, allocations: 75.28 kB / 0.5064 GB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.1182, allocations: 105.8 kB / 0.5065 GB, free: 6.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1182, allocations: 0 / 0.5065 GB, free: 6.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.857e-05/0.1183, allocations: 37.58 kB / 0.5066 GB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.1184, allocations: 138.7 kB / 0.5067 GB, free: 6.008 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.0001927/0.1186, allocations: 151.3 kB / 0.5069 GB, free: 5.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1186, allocations: 25.7 kB / 0.5069 GB, free: 5.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1187, allocations: 84.14 kB / 0.507 GB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.1187, allocations: 0 / 0.507 GB, free: 5.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.1188, allocations: 33.66 kB / 0.507 GB, free: 5.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1189, allocations: 314.8 kB / 0.5073 GB, free: 5.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.119, allocations: 19.98 kB / 0.5073 GB, free: 5.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.119, allocations: 57.14 kB / 0.5074 GB, free: 5.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1192, allocations: 94.72 kB / 0.5075 GB, free: 5.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1192, allocations: 0 / 0.5075 GB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005293/0.1197, allocations: 323.2 kB / 0.5078 GB, free: 4.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.1198, allocations: 41.67 kB / 0.5078 GB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1198, allocations: 0 / 0.5078 GB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.12, allocations: 41.69 kB / 0.5078 GB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.1203, allocations: 27.92 kB / 0.5079 GB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.1249, allocations: 5.572 MB / 0.5133 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.125, allocations: 8.094 kB / 0.5133 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.125, allocations: 8 kB / 0.5133 GB, free: 14.53 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.0001511/0.1252, allocations: 208.9 kB / 0.5135 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.1253, allocations: 101 kB / 0.5136 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.1253, allocations: 116.8 kB / 0.5137 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.068e-05/0.1254, allocations: 184.3 kB / 0.5139 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.241e-05/0.1255, allocations: 180.3 kB / 0.5141 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-05/0.1256, allocations: 184.2 kB / 0.5143 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.1259, allocations: 417.1 kB / 0.5147 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/0.1259, allocations: 112.9 kB / 0.5148 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.126, allocations: 105 kB / 0.5149 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.128e-05/0.1261, allocations: 180.4 kB / 0.515 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.1262, allocations: 180.2 kB / 0.5152 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.288e-05/0.1263, allocations: 184.3 kB / 0.5154 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.09e-05/0.1263, allocations: 188.2 kB / 0.5156 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.1266, allocations: 311.7 kB / 0.5159 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1267, allocations: 194 kB / 0.516 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.1268, allocations: 176.3 kB / 0.5162 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.1268, allocations: 112.9 kB / 0.5163 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.1269, allocations: 176.3 kB / 0.5165 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.127, allocations: 109 kB / 0.5166 GB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.51e-05/0.1271, allocations: 112.9 kB / 0.5167 GB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1271, allocations: 0 / 0.5167 GB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1274, allocations: 15.94 kB / 0.5167 GB, free: 10.83 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.0004332/0.1278, allocations: 0.8048 MB / 0.5175 GB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008191/0.1286, allocations: 344.7 kB / 0.5178 GB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1286, allocations: 0 / 0.5178 GB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.1287, allocations: 4 kB / 0.5178 GB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.1291, allocations: 461.6 kB / 0.5183 GB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1309, allocations: 1.987 MB / 0.5202 GB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1313, allocations: 0.6911 MB / 0.5209 GB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.1313, allocations: 0 / 0.5209 GB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1314, allocations: 23.42 kB / 0.5209 GB, free: 6.234 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1314, allocations: 0 / 0.5209 GB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.164, allocations: 1.908 MB / 0.5228 GB, free: 4.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.16, allocations: 3.953 kB / 0.5228 GB, free: 4.449 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.InitializationParameters_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)