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.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 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.426/1.426, allocations: 222.9 MB / 239.3 MB, free: 4.57 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.001392/0.001392, allocations: 191.7 kB / 289.6 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05011/0.05011, allocations: 8.793 MB / 348.5 MB, free: 4.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 78.12 kB / 411.2 MB, free: 41.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1178, allocations: 51.56 MB / 462.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.002334/0.1202, allocations: 0.4989 MB / 463.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.1223, allocations: 1.089 MB / 464.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.1224, allocations: 0 / 464.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.1228, allocations: 19.91 kB / 464.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.1229, allocations: 19.92 kB / 464.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.1229, allocations: 0 / 464.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.123, allocations: 27.91 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1231, allocations: 4 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1232, allocations: 23.92 kB / 464.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.1234, allocations: 27.84 kB / 464.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1235, allocations: 0 / 464.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.1235, allocations: 4 kB / 464.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1236, allocations: 71.84 kB / 464.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.1237, allocations: 31.69 kB / 464.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.1238, allocations: 43.78 kB / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.1238, allocations: 0 / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1238, allocations: 0 / 464.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.1238, allocations: 0 / 464.6 MB, free: 12.37 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008217/0.1247, allocations: 411 kB / 465 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1247, allocations: 12.03 kB / 465 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.1248, allocations: 106 kB / 465.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.1249, allocations: 88.12 kB / 465.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.1253, allocations: 288.1 kB / 465.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.1253, allocations: 150.9 kB / 465.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.1254, allocations: 158.9 kB / 465.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.728e-05/0.1255, allocations: 109.1 kB / 465.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.1255, allocations: 79.28 kB / 466 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.1256, allocations: 154.5 kB / 466.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.1257, allocations: 154.5 kB / 466.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1258, allocations: 150.6 kB / 466.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.1262, allocations: 477.9 kB / 466.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1265, allocations: 177.1 kB / 467.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.1265, allocations: 88.06 kB / 467.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1265, allocations: 75.28 kB / 467.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.1266, allocations: 113.8 kB / 467.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1266, allocations: 0 / 467.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.898e-05/0.1267, allocations: 41.55 kB / 467.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1268, allocations: 130.7 kB / 467.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.127, allocations: 227.8 kB / 467.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.1271, allocations: 29.7 kB / 467.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1273, allocations: 116.1 kB / 467.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.1273, allocations: 0 / 467.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.1273, allocations: 9.719 kB / 467.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1274, allocations: 326.8 kB / 468.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.1274, allocations: 4 kB / 468.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.1274, allocations: 4 kB / 468.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.1275, allocations: 75.28 kB / 468.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/0.1275, allocations: 79.28 kB / 468.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001562/0.1277, allocations: 49.44 kB / 468.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.1278, allocations: 79.28 kB / 468.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/0.1278, allocations: 79.22 kB / 468.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.083e-05/0.1279, allocations: 154.6 kB / 468.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.1279, allocations: 83.22 kB / 468.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-05/0.128, allocations: 154.6 kB / 468.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.1281, allocations: 75.28 kB / 469 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.1281, allocations: 83.2 kB / 469.1 MB, free: 7.621 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 (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.000254/0.1284, allocations: 288.4 kB / 469.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.1285, allocations: 120.8 kB / 469.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.1286, allocations: 125.7 kB / 469.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/0.1286, allocations: 180.3 kB / 469.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-05/0.1287, allocations: 184.2 kB / 470 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-05/0.1288, allocations: 184.2 kB / 470.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1291, allocations: 433.2 kB / 470.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.1291, allocations: 108.9 kB / 470.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1292, allocations: 108.9 kB / 470.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.971e-05/0.1292, allocations: 184.2 kB / 471 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.1293, allocations: 176.3 kB / 471.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.037e-05/0.1294, allocations: 180.3 kB / 471.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.588e-05/0.1295, allocations: 188.1 kB / 471.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.1296, allocations: 323.5 kB / 471.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.1297, allocations: 193.8 kB / 472 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.1298, allocations: 176.3 kB / 472.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1299, allocations: 120.9 kB / 472.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.13, allocations: 180.3 kB / 472.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.1301, allocations: 104.9 kB / 472.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1302, allocations: 168.2 kB / 472.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1302, allocations: 0 / 472.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1305, allocations: 4 kB / 472.7 MB, free: 3.75 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 (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.0003984/0.1309, allocations: 0.8187 MB / 473.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.792e-05/0.131, allocations: 0 / 473.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.131, allocations: 3.938 kB / 473.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.131, allocations: 0 / 473.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1313, allocations: 467.6 kB / 474 MB, free: 2.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.133, allocations: 2.034 MB / 476.1 MB, free: 320 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1333, allocations: 0.7158 MB / 476.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.374e-05/0.1333, allocations: 4 kB / 476.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.1334, allocations: 23.44 kB / 476.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1334, allocations: 0 / 476.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.1518, allocations: 1.847 MB / 478.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.603, allocations: 6.75 kB / 478.7 MB, free: 13.76 MB / 318.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)