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.007904/0.007904, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.545/1.545, 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.001515/0.001515, allocations: 188.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03419/0.03419, allocations: 8.787 MB / 348.7 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.88 kB / 463.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1004, allocations: 51.56 MB / 0.5029 GB, free: 9.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001809/0.1023, allocations: 0.5045 MB / 0.5034 GB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1039, allocations: 1.096 MB / 0.5045 GB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.104, allocations: 0 / 0.5045 GB, free: 8.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1043, allocations: 23.91 kB / 0.5045 GB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.1044, allocations: 27.91 kB / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.909e-06/0.1045, allocations: 0 / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.1045, allocations: 19.92 kB / 0.5045 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.1046, allocations: 7.984 kB / 0.5045 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1047, allocations: 19.92 kB / 0.5046 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1049, allocations: 19.92 kB / 0.5046 GB, free: 8.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1049, allocations: 3.984 kB / 0.5046 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.1049, allocations: 0 / 0.5046 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1051, allocations: 71.84 kB / 0.5046 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.1051, allocations: 27.69 kB / 0.5047 GB, free: 8.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.602e-05/0.1052, allocations: 47.78 kB / 0.5047 GB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1052, allocations: 0 / 0.5047 GB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1052, allocations: 0 / 0.5047 GB, free: 8.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1052, allocations: 0 / 0.5047 GB, free: 8.098 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.0005838/0.1058, allocations: 414.9 kB / 0.5051 GB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1059, allocations: 12.03 kB / 0.5051 GB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.106, allocations: 106 kB / 0.5052 GB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.106, allocations: 88.12 kB / 0.5053 GB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1063, allocations: 284.2 kB / 0.5056 GB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.1063, allocations: 150.9 kB / 0.5057 GB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.1064, allocations: 154.9 kB / 0.5059 GB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.154e-05/0.1065, allocations: 113 kB / 0.506 GB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.1065, allocations: 75.28 kB / 0.5061 GB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.1066, allocations: 154.6 kB / 0.5062 GB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.1067, allocations: 150.6 kB / 0.5063 GB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.1067, allocations: 154.5 kB / 0.5065 GB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1071, allocations: 477.9 kB / 0.5069 GB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.1072, allocations: 173.1 kB / 0.5071 GB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.1072, allocations: 84.14 kB / 0.5072 GB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1072, allocations: 75.28 kB / 0.5073 GB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.1073, allocations: 117.7 kB / 0.5074 GB, free: 5.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.1073, allocations: 3.984 kB / 0.5074 GB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.558e-05/0.1074, allocations: 37.52 kB / 0.5074 GB, free: 5.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1075, allocations: 134.7 kB / 0.5075 GB, free: 4.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1077, allocations: 231.7 kB / 0.5078 GB, free: 4.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1077, allocations: 25.7 kB / 0.5078 GB, free: 4.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.1078, allocations: 120.1 kB / 0.5079 GB, free: 4.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.1078, allocations: 0 / 0.5079 GB, free: 4.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.1078, allocations: 13.72 kB / 0.5079 GB, free: 4.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.108, allocations: 322.8 kB / 0.5082 GB, free: 4.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.108, allocations: 0 / 0.5082 GB, free: 4.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/0.108, allocations: 4 kB / 0.5082 GB, free: 4.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.108, allocations: 75.28 kB / 0.5083 GB, free: 4.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.108, allocations: 83.22 kB / 0.5084 GB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.612e-05/0.1081, allocations: 41.45 kB / 0.5084 GB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.1082, allocations: 87.27 kB / 0.5085 GB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.1082, allocations: 79.28 kB / 0.5086 GB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-05/0.1083, allocations: 154.5 kB / 0.5087 GB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-05/0.1083, allocations: 79.28 kB / 0.5088 GB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.214e-05/0.1084, allocations: 162.5 kB / 0.509 GB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1085, allocations: 75.44 kB / 0.509 GB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1085, allocations: 79.3 kB / 0.5091 GB, free: 3.348 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.0001517/0.1087, allocations: 288.4 kB / 0.5094 GB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.1087, allocations: 124.8 kB / 0.5095 GB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.1088, allocations: 117.5 kB / 0.5096 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/0.1089, allocations: 184.2 kB / 0.5098 GB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-05/0.109, allocations: 184.3 kB / 0.51 GB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/0.109, allocations: 180.2 kB / 0.5101 GB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.1093, allocations: 441.1 kB / 0.5106 GB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/0.1093, allocations: 105 kB / 0.5107 GB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.1094, allocations: 112.9 kB / 0.5108 GB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.1095, allocations: 176.3 kB / 0.5109 GB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.1096, allocations: 180.2 kB / 0.5111 GB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-05/0.1096, allocations: 180.2 kB / 0.5113 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.452e-05/0.1097, allocations: 188.3 kB / 0.5115 GB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1099, allocations: 319.6 kB / 0.5118 GB, free: 464 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.11, allocations: 193.9 kB / 0.5119 GB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.1101, allocations: 180.2 kB / 0.5121 GB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1102, allocations: 105 kB / 0.5122 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.1103, allocations: 188.2 kB / 0.5124 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.1103, allocations: 101 kB / 0.5125 GB, free: 15.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1105, allocations: 168.2 kB / 0.5127 GB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1105, allocations: 0 / 0.5127 GB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1107, 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.0004084/0.1111, allocations: 0.8302 MB / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.145e-05/0.1112, allocations: 0 / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1112, allocations: 4 kB / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1112, 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.0003594/0.1116, allocations: 461.2 kB / 0.5139 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1132, 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.0002769/0.1135, allocations: 0.7119 MB / 0.5166 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1136, allocations: 0 / 0.5166 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1136, allocations: 27.42 kB / 0.5166 GB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1136, allocations: 0 / 0.5166 GB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.1343, allocations: 1.883 MB / 0.5185 GB, free: 9.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.553, allocations: 10.22 kB / 0.5185 GB, free: 9.461 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)