Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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.008284/0.008283, allocations: 101 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.536/1.536, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001506/0.001506, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03684/0.03684, allocations: 8.804 MB / 348.7 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 83.86 kB / 463.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1172, allocations: 51.57 MB / 0.5029 GB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001632/0.1189, allocations: 0.5226 MB / 0.5034 GB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1204, allocations: 1.12 MB / 0.5045 GB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.1205, allocations: 4 kB / 0.5045 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.1207, allocations: 7.984 kB / 0.5045 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1208, allocations: 19.86 kB / 0.5045 GB, free: 8.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.442e-05/0.1209, allocations: 15.92 kB / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.121, allocations: 35.89 kB / 0.5046 GB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.121, allocations: 7.938 kB / 0.5046 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1211, allocations: 27.86 kB / 0.5046 GB, free: 8.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1213, allocations: 39.89 kB / 0.5047 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1213, allocations: 0 / 0.5047 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.1213, allocations: 8 kB / 0.5047 GB, free: 8.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/0.1214, allocations: 35.89 kB / 0.5047 GB, free: 8.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.1215, allocations: 27.73 kB / 0.5047 GB, free: 8.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.1216, allocations: 47.7 kB / 0.5048 GB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1216, allocations: 7.938 kB / 0.5048 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1216, allocations: 0 / 0.5048 GB, free: 8.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1216, allocations: 4 kB / 0.5048 GB, free: 8.043 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006112/0.1222, allocations: 410.9 kB / 0.5052 GB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1223, allocations: 8.031 kB / 0.5052 GB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.1223, allocations: 30.75 kB / 0.5052 GB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.1223, allocations: 12.89 kB / 0.5052 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1226, allocations: 228.1 kB / 0.5054 GB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1227, allocations: 384 / 0.5055 GB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1227, allocations: 8.375 kB / 0.5055 GB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1228, allocations: 49.73 kB / 0.5055 GB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1228, allocations: 0 / 0.5055 GB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.1228, allocations: 0 / 0.5055 GB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1228, allocations: 0 / 0.5055 GB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.1229, allocations: 15.94 kB / 0.5055 GB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.1231, allocations: 185.7 kB / 0.5057 GB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.471e-05/0.1232, allocations: 38.56 kB / 0.5057 GB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.1233, allocations: 12.86 kB / 0.5057 GB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1233, allocations: 0 / 0.5057 GB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1233, allocations: 34.5 kB / 0.5058 GB, free: 6.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1233, allocations: 3.938 kB / 0.5058 GB, free: 6.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.1235, allocations: 73.61 kB / 0.5059 GB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1236, allocations: 55.41 kB / 0.5059 GB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1239, allocations: 210.3 kB / 0.5061 GB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1239, allocations: 25.7 kB / 0.5061 GB, free: 6.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.124, allocations: 108.1 kB / 0.5062 GB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.124, allocations: 11.95 kB / 0.5062 GB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1241, allocations: 9.719 kB / 0.5063 GB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1242, allocations: 322.8 kB / 0.5066 GB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.1243, allocations: 11.98 kB / 0.5066 GB, free: 5.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.1243, allocations: 4 kB / 0.5066 GB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.1243, allocations: 24.84 kB / 0.5066 GB, free: 5.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1243, allocations: 0 / 0.5066 GB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001064/0.1245, allocations: 69.47 kB / 0.5067 GB, free: 5.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1245, allocations: 9.719 kB / 0.5067 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1245, allocations: 0 / 0.5067 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1245, allocations: 0 / 0.5067 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.1246, allocations: 7.984 kB / 0.5067 GB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1246, allocations: 0 / 0.5067 GB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.1247, allocations: 4 kB / 0.5067 GB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1247, allocations: 0 / 0.5067 GB, free: 5.867 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 (3): * Single equations (assignments): 3 * 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.0001112/0.1248, allocations: 126.8 kB / 0.5068 GB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.1248, allocations: 11.89 kB / 0.5068 GB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.125, allocations: 86.78 kB / 0.5069 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.125, allocations: 0 / 0.5069 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.125, allocations: 0 / 0.5069 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.125, allocations: 0 / 0.5069 GB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1252, allocations: 181.6 kB / 0.5071 GB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1252, allocations: 0 / 0.5071 GB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.1253, allocations: 11.94 kB / 0.5071 GB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1253, allocations: 0 / 0.5071 GB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1253, allocations: 0 / 0.5071 GB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1253, allocations: 3.938 kB / 0.5071 GB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1253, allocations: 4 kB / 0.5071 GB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1254, allocations: 89.02 kB / 0.5072 GB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.1255, allocations: 93 kB / 0.5073 GB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1256, allocations: 7.875 kB / 0.5073 GB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.1256, allocations: 7.984 kB / 0.5073 GB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1256, allocations: 0 / 0.5073 GB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1257, allocations: 4 kB / 0.5073 GB, free: 5.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1258, allocations: 163.2 kB / 0.5074 GB, free: 4.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1258, allocations: 0 / 0.5074 GB, free: 4.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.126, allocations: 8 kB / 0.5075 GB, free: 4.977 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0004414/0.1265, allocations: 0.6162 MB / 0.5081 GB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.1266, allocations: 23.92 kB / 0.5081 GB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1266, allocations: 4 kB / 0.5081 GB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.1266, allocations: 15.98 kB / 0.5081 GB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.1268, allocations: 8 kB / 0.5081 GB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1285, allocations: 1.584 MB / 0.5097 GB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.129, allocations: 0.7041 MB / 0.5103 GB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.208e-05/0.129, allocations: 16.31 kB / 0.5104 GB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.1291, allocations: 31.42 kB / 0.5104 GB, free: 1.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1291, allocations: 0 / 0.5104 GB, free: 1.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1518, allocations: 2.02 MB / 0.5124 GB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.144, allocations: 9.547 kB / 0.5124 GB, free: 15.89 MB / 366.1 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1_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_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)