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.01041/0.01041, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.512/1.512, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001518/0.001518, allocations: 176.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03563/0.03563, allocations: 8.793 MB / 348.7 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003424/0.003424, allocations: 75.88 kB / 463.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1432, allocations: 51.56 MB / 0.5029 GB, free: 9.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.00197/0.1452, allocations: 0.5381 MB / 0.5034 GB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1469, allocations: 1.12 MB / 0.5045 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.147, allocations: 0 / 0.5045 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1472, allocations: 7.938 kB / 0.5045 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1474, allocations: 23.86 kB / 0.5045 GB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.288e-05/0.1475, allocations: 15.91 kB / 0.5046 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1476, allocations: 35.91 kB / 0.5046 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.1477, allocations: 7.938 kB / 0.5046 GB, free: 8.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1478, allocations: 15.92 kB / 0.5046 GB, free: 8.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1479, allocations: 47.81 kB / 0.5047 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.148, allocations: 4 kB / 0.5047 GB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.148, allocations: 4 kB / 0.5047 GB, free: 8.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1481, allocations: 35.91 kB / 0.5047 GB, free: 8.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.1482, allocations: 31.73 kB / 0.5047 GB, free: 8.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1483, allocations: 47.69 kB / 0.5048 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1483, allocations: 0 / 0.5048 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1483, allocations: 0 / 0.5048 GB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1483, allocations: 0 / 0.5048 GB, free: 8.051 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.0006633/0.149, allocations: 418.9 kB / 0.5052 GB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.149, allocations: 12.03 kB / 0.5052 GB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.1491, allocations: 30.75 kB / 0.5052 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.1491, allocations: 8.891 kB / 0.5052 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1494, allocations: 224.1 kB / 0.5054 GB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1494, allocations: 384 / 0.5054 GB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1494, allocations: 384 / 0.5054 GB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.1495, allocations: 49.75 kB / 0.5055 GB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1495, allocations: 4 kB / 0.5055 GB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1496, allocations: 0 / 0.5055 GB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1496, allocations: 0 / 0.5055 GB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.1496, allocations: 7.984 kB / 0.5055 GB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.1499, allocations: 189.7 kB / 0.5057 GB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.15, allocations: 30.56 kB / 0.5057 GB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.15, allocations: 12.95 kB / 0.5057 GB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.15, allocations: 7.984 kB / 0.5057 GB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1501, allocations: 46.38 kB / 0.5058 GB, free: 6.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1501, allocations: 0 / 0.5058 GB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.1503, allocations: 61.59 kB / 0.5058 GB, free: 6.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1503, allocations: 51.41 kB / 0.5059 GB, free: 6.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1505, allocations: 210.3 kB / 0.5061 GB, free: 6.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1506, allocations: 33.62 kB / 0.5061 GB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1506, allocations: 108.1 kB / 0.5062 GB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1507, allocations: 3.953 kB / 0.5062 GB, free: 6.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1507, allocations: 21.7 kB / 0.5062 GB, free: 6.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1508, allocations: 326.8 kB / 0.5066 GB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.1508, allocations: 4 kB / 0.5066 GB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.1509, allocations: 4 kB / 0.5066 GB, free: 6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.1509, allocations: 33.06 kB / 0.5066 GB, free: 5.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1509, allocations: 0 / 0.5066 GB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.341e-05/0.151, allocations: 65.52 kB / 0.5067 GB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.151, allocations: 4 kB / 0.5067 GB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1511, allocations: 7.984 kB / 0.5067 GB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.1511, allocations: 4 kB / 0.5067 GB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.1512, allocations: 4 kB / 0.5067 GB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1512, allocations: 0 / 0.5067 GB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1512, allocations: 0 / 0.5067 GB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1513, allocations: 7.984 kB / 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.0001004/0.1514, allocations: 122.8 kB / 0.5068 GB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1514, allocations: 15.83 kB / 0.5068 GB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.1515, allocations: 66.55 kB / 0.5069 GB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1516, allocations: 8 kB / 0.5069 GB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1516, allocations: 0 / 0.5069 GB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1516, allocations: 0 / 0.5069 GB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.1518, allocations: 181.6 kB / 0.5071 GB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1518, allocations: 0 / 0.5071 GB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.1518, allocations: 7.938 kB / 0.5071 GB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1519, allocations: 0 / 0.5071 GB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1519, allocations: 4 kB / 0.5071 GB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1519, allocations: 7.984 kB / 0.5071 GB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1519, allocations: 0 / 0.5071 GB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.152, allocations: 88.97 kB / 0.5072 GB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.1521, allocations: 96.94 kB / 0.5073 GB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1521, allocations: 3.984 kB / 0.5073 GB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/0.1522, allocations: 4 kB / 0.5073 GB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1522, allocations: 0 / 0.5073 GB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1522, allocations: 0 / 0.5073 GB, free: 5.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1523, allocations: 171.2 kB / 0.5074 GB, free: 4.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 0 / 0.5074 GB, free: 4.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.1525, allocations: 12 kB / 0.5074 GB, free: 4.984 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.0003523/0.1529, allocations: 0.6162 MB / 0.508 GB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.414e-05/0.153, allocations: 23.92 kB / 0.5081 GB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.153, allocations: 0 / 0.5081 GB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.153, allocations: 11.98 kB / 0.5081 GB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.1532, allocations: 13.88 kB / 0.5081 GB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1549, allocations: 1.591 MB / 0.5096 GB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1552, allocations: 0.7119 MB / 0.5103 GB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.1553, allocations: 19.97 kB / 0.5104 GB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.1553, allocations: 19.44 kB / 0.5104 GB, free: 1.844 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1553, allocations: 0 / 0.5104 GB, free: 1.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.1774, allocations: 2.013 MB / 0.5123 GB, free: 15.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.087, allocations: 10.12 kB / 0.5124 GB, free: 15.9 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)