Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.00591/0.00591, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.513/1.513, 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.001637/0.001637, allocations: 188.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.03721/0.03721, allocations: 8.805 MB / 348.7 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 83.86 kB / 463.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1123, allocations: 51.57 MB / 0.5029 GB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001481/0.1139, allocations: 0.5007 MB / 0.5034 GB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1153, allocations: 1.092 MB / 0.5045 GB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1154, allocations: 4 kB / 0.5045 GB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1156, allocations: 15.92 kB / 0.5045 GB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.1157, allocations: 27.91 kB / 0.5045 GB, free: 8.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.976e-06/0.1157, allocations: 0 / 0.5045 GB, free: 8.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.1158, allocations: 27.91 kB / 0.5045 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.1158, allocations: 8.281 kB / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.1159, allocations: 15.92 kB / 0.5046 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.116, allocations: 27.91 kB / 0.5046 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.116, allocations: 0 / 0.5046 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.116, allocations: 0 / 0.5046 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1162, allocations: 71.84 kB / 0.5047 GB, free: 8.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.1162, allocations: 23.69 kB / 0.5047 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.369e-05/0.1163, allocations: 51.59 kB / 0.5047 GB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1163, allocations: 0 / 0.5047 GB, free: 8.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1163, allocations: 4 kB / 0.5047 GB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1163, allocations: 0 / 0.5047 GB, free: 8.117 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.0005118/0.1169, allocations: 410.8 kB / 0.5051 GB, free: 7.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1169, allocations: 12.03 kB / 0.5051 GB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.117, allocations: 110 kB / 0.5052 GB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.117, allocations: 92.12 kB / 0.5053 GB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1173, allocations: 288.3 kB / 0.5056 GB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.1174, allocations: 150.9 kB / 0.5057 GB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.1174, allocations: 154.9 kB / 0.5059 GB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.1175, allocations: 113 kB / 0.506 GB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.1176, allocations: 75.28 kB / 0.5061 GB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.1176, allocations: 154.6 kB / 0.5062 GB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/0.1177, allocations: 150.6 kB / 0.5064 GB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.1178, allocations: 154.5 kB / 0.5065 GB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.1181, allocations: 481.9 kB / 0.507 GB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1183, allocations: 169.1 kB / 0.5071 GB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.1183, allocations: 84.12 kB / 0.5072 GB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1183, allocations: 75.28 kB / 0.5073 GB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/0.1184, allocations: 117.7 kB / 0.5074 GB, free: 5.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1184, allocations: 4 kB / 0.5074 GB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.383e-05/0.1185, allocations: 33.66 kB / 0.5074 GB, free: 5.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.1186, allocations: 126.7 kB / 0.5075 GB, free: 5.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1189, allocations: 235.8 kB / 0.5078 GB, free: 4.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1189, allocations: 25.7 kB / 0.5078 GB, free: 4.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.119, allocations: 116.1 kB / 0.5079 GB, free: 4.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.119, allocations: 0 / 0.5079 GB, free: 4.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.119, allocations: 9.719 kB / 0.5079 GB, free: 4.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1192, allocations: 330.8 kB / 0.5082 GB, free: 4.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.1192, allocations: 0 / 0.5082 GB, free: 4.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.1193, allocations: 0 / 0.5082 GB, free: 4.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.1193, allocations: 75.28 kB / 0.5083 GB, free: 4.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.437e-05/0.1194, allocations: 75.28 kB / 0.5084 GB, free: 4.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.143e-05/0.1194, allocations: 53.47 kB / 0.5084 GB, free: 4.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.1195, allocations: 83.28 kB / 0.5085 GB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/0.1195, allocations: 79.28 kB / 0.5086 GB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.046e-05/0.1196, allocations: 158.5 kB / 0.5087 GB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.238e-05/0.1197, allocations: 75.28 kB / 0.5088 GB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.141e-05/0.1198, allocations: 162.5 kB / 0.509 GB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.1199, allocations: 79.44 kB / 0.509 GB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1199, allocations: 83.28 kB / 0.5091 GB, free: 3.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001703/0.1201, allocations: 292.3 kB / 0.5094 GB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.015e-05/0.1202, allocations: 120.8 kB / 0.5095 GB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.1203, allocations: 121.5 kB / 0.5096 GB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.531e-05/0.1204, allocations: 188.2 kB / 0.5098 GB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.889e-05/0.1205, allocations: 176.3 kB / 0.51 GB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.768e-05/0.1205, allocations: 192.2 kB / 0.5102 GB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.1209, allocations: 437.1 kB / 0.5106 GB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-05/0.1209, allocations: 101 kB / 0.5107 GB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.121, allocations: 108.9 kB / 0.5108 GB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.972e-05/0.1211, allocations: 180.2 kB / 0.5109 GB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.1212, allocations: 184.3 kB / 0.5111 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.027e-05/0.1213, allocations: 188.2 kB / 0.5113 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-05/0.1214, allocations: 176.3 kB / 0.5115 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1216, allocations: 315.7 kB / 0.5118 GB, free: 480 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1217, allocations: 201.9 kB / 0.512 GB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1218, allocations: 184.2 kB / 0.5121 GB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1219, allocations: 105 kB / 0.5122 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.122, allocations: 180.2 kB / 0.5124 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.1221, allocations: 105 kB / 0.5125 GB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1223, allocations: 172.2 kB / 0.5127 GB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1223, allocations: 0 / 0.5127 GB, free: 15.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1225, allocations: 4 kB / 0.5127 GB, free: 15.48 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.0004832/0.123, allocations: 0.8225 MB / 0.5135 GB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.83e-05/0.1231, allocations: 8 kB / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1231, allocations: 0 / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1231, allocations: 0 / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1235, allocations: 460.9 kB / 0.5139 GB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1256, allocations: 2.046 MB / 0.5159 GB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.126, allocations: 0.708 MB / 0.5166 GB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.665e-05/0.126, allocations: 3.984 kB / 0.5166 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.1261, allocations: 23.44 kB / 0.5166 GB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1261, allocations: 4 kB / 0.5166 GB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1492, allocations: 1.871 MB / 0.5185 GB, free: 9.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.101, allocations: 6.391 kB / 0.5185 GB, free: 9.484 MB / 366.1 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2_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_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)