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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001402/0.001402, allocations: 188.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03505/0.03505, allocations: 8.801 MB / 348.5 MB, free: 4.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00302/0.00302, allocations: 79.25 kB / 411.2 MB, free: 41.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/0.09052, allocations: 51.57 MB / 462.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001657/0.09221, allocations: 0.517 MB / 463.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.09352, allocations: 1.12 MB / 464.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.09358, allocations: 3.938 kB / 464.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.09378, allocations: 11.92 kB / 464.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.0939, allocations: 19.86 kB / 464.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.292e-05/0.09396, allocations: 8 kB / 464.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.09405, allocations: 39.83 kB / 464.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.0941, allocations: 4 kB / 464.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.09421, allocations: 27.86 kB / 464.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.09437, allocations: 43.88 kB / 464.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.0944, allocations: 0 / 464.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.09442, allocations: 4 kB / 464.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.09451, allocations: 31.91 kB / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.09456, allocations: 27.73 kB / 464.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.537e-05/0.09464, allocations: 55.75 kB / 464.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.09465, allocations: 0 / 464.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09466, allocations: 0 / 464.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.09467, allocations: 4 kB / 464.7 MB, free: 12.29 MB / 302.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.000557/0.09523, allocations: 401 kB / 465.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.09528, allocations: 16.02 kB / 465.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.09532, allocations: 34.75 kB / 465.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.09536, allocations: 12.75 kB / 465.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.09557, allocations: 228 kB / 465.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.09559, allocations: 384 / 465.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.0956, allocations: 4.375 kB / 465.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.5e-05/0.0957, allocations: 49.8 kB / 465.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.09572, allocations: 0 / 465.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.09573, allocations: 0 / 465.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.09574, allocations: 0 / 465.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.09578, allocations: 11.98 kB / 465.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.09598, allocations: 193.6 kB / 465.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.09605, allocations: 34.5 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.09608, allocations: 16.95 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.09611, allocations: 3.984 kB / 465.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.09614, allocations: 34.5 kB / 465.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.09614, allocations: 0 / 465.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001624/0.09631, allocations: 65.5 kB / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.09636, allocations: 59.28 kB / 465.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.09657, allocations: 210.3 kB / 466 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.09659, allocations: 33.69 kB / 466 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.09665, allocations: 104.1 kB / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.09668, allocations: 7.906 kB / 466.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.09672, allocations: 17.7 kB / 466.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.09684, allocations: 322.8 kB / 466.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.09687, allocations: 11.94 kB / 466.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.09689, allocations: 4 kB / 466.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.09693, allocations: 24.84 kB / 466.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.09694, allocations: 0 / 466.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.506e-05/0.09703, allocations: 61.53 kB / 466.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.09705, allocations: 7.938 kB / 466.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.09706, allocations: 3.984 kB / 466.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.09708, allocations: 4 kB / 466.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.09716, allocations: 4 kB / 466.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.09717, allocations: 0 / 466.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.09723, allocations: 7.906 kB / 466.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.09724, allocations: 3.984 kB / 466.6 MB, free: 10.1 MB / 302.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 8.392e-05/0.09733, allocations: 125.8 kB / 466.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.09736, allocations: 15.84 kB / 466.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.09749, allocations: 66.94 kB / 466.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.0975, allocations: 4.031 kB / 466.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.09751, allocations: 0 / 466.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.09752, allocations: 0 / 466.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.09764, allocations: 181.6 kB / 467 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.09765, allocations: 3.938 kB / 467 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.09769, allocations: 7.938 kB / 467 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.0977, allocations: 0 / 467 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.09771, allocations: 4 kB / 467 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.09772, allocations: 11.98 kB / 467 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.09773, allocations: 0 / 467 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.09783, allocations: 77.03 kB / 467.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.09789, allocations: 96.86 kB / 467.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.09791, allocations: 3.984 kB / 467.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.09797, allocations: 4 kB / 467.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.09799, allocations: 3.938 kB / 467.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.09799, allocations: 0 / 467.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.09814, allocations: 172.2 kB / 467.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09814, allocations: 0 / 467.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.09833, allocations: 8 kB / 467.4 MB, free: 9.227 MB / 302.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.0003558/0.09869, allocations: 0.6123 MB / 468 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.09879, allocations: 19.98 kB / 468 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0988, allocations: 4 kB / 468 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.09883, allocations: 19.92 kB / 468 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.09901, allocations: 4 kB / 468 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1004, allocations: 1.581 MB / 469.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1007, allocations: 0.7041 MB / 470.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.1007, allocations: 20.25 kB / 470.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.1008, allocations: 23.44 kB / 470.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1008, allocations: 0 / 470.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.1185, allocations: 1.984 MB / 472.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/7.615, allocations: 6.25 kB / 472.4 MB, free: 4.172 MB / 302.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)