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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.0007931/0.0007932, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.318/1.318, allocations: 223.3 MB / 239 MB, free: 5.457 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.0009999/0.001, allocations: 168.6 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03347/0.03347, allocations: 8.789 MB / 350.2 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 9.094 kB / 413.3 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08072, allocations: 52.56 MB / 465.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0005046/0.08125, allocations: 234.3 kB / 466.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.08232, allocations: 1.058 MB / 467.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.08236, allocations: 0 / 467.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.08256, allocations: 15.97 kB / 467.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.08262, allocations: 23.92 kB / 467.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.08263, allocations: 3.938 kB / 467.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.08268, allocations: 19.95 kB / 467.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.08273, allocations: 4 kB / 467.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.08281, allocations: 23.86 kB / 467.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.0829, allocations: 15.98 kB / 467.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.08292, allocations: 0 / 467.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.08294, allocations: 15.88 kB / 467.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.08306, allocations: 75.83 kB / 467.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.08309, allocations: 33.64 kB / 467.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.935e-05/0.08314, allocations: 31.97 kB / 467.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08315, allocations: 0 / 467.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08315, allocations: 0 / 467.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.08316, allocations: 0 / 467.4 MB, free: 11.84 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.000368/0.08353, allocations: 403 kB / 467.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.08358, allocations: 8.031 kB / 467.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.08362, allocations: 105.8 kB / 467.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.08368, allocations: 95.03 kB / 468 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.08387, allocations: 275.1 kB / 468.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.08392, allocations: 150.6 kB / 468.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.08397, allocations: 154.6 kB / 468.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.915e-05/0.08402, allocations: 101 kB / 468.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.08407, allocations: 75.28 kB / 468.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.08412, allocations: 154.5 kB / 468.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.08417, allocations: 158.5 kB / 469 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.08422, allocations: 158.5 kB / 469.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.08449, allocations: 481.9 kB / 469.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.08456, allocations: 169.1 kB / 469.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.0846, allocations: 84.08 kB / 469.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.08462, allocations: 75.28 kB / 470 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.08467, allocations: 109.8 kB / 470.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.08467, allocations: 0 / 470.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.46e-05/0.08474, allocations: 41.52 kB / 470.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.08479, allocations: 126.7 kB / 470.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.08501, allocations: 239.7 kB / 470.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.08503, allocations: 25.7 kB / 470.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.08509, allocations: 116.1 kB / 470.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.0851, allocations: 0 / 470.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.0851, allocations: 4 kB / 470.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.0852, allocations: 326.8 kB / 470.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-06/0.08521, allocations: 0 / 470.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.08522, allocations: 3.969 kB / 470.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.08525, allocations: 79.28 kB / 471 MB, free: 7.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/0.08528, allocations: 83.16 kB / 471.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.801e-05/0.08534, allocations: 45.56 kB / 471.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.08538, allocations: 79.28 kB / 471.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.08541, allocations: 87.33 kB / 471.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.893e-05/0.08546, allocations: 154.5 kB / 471.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.12e-05/0.08549, allocations: 79.27 kB / 471.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.219e-05/0.08553, allocations: 154.5 kB / 471.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.08562, allocations: 87.23 kB / 471.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.08564, allocations: 75.28 kB / 471.8 MB, free: 7.117 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.08577, allocations: 296.3 kB / 472.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.08583, allocations: 108.9 kB / 472.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.08589, allocations: 125.5 kB / 472.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/0.08594, allocations: 180.2 kB / 472.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-05/0.086, allocations: 176.3 kB / 472.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.08605, allocations: 188.2 kB / 472.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.08627, allocations: 441.1 kB / 473.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.08631, allocations: 101 kB / 473.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.08634, allocations: 104.9 kB / 473.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.097e-05/0.0864, allocations: 180.3 kB / 473.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.08646, allocations: 188.2 kB / 473.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/0.08651, allocations: 180.3 kB / 474.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-05/0.08657, allocations: 180.2 kB / 474.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.08668, allocations: 319.5 kB / 474.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.08676, allocations: 197.9 kB / 474.7 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.08683, allocations: 180.3 kB / 474.9 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.08691, allocations: 101 kB / 475 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.08697, allocations: 184.2 kB / 475.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.08701, allocations: 101 kB / 475.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.08714, allocations: 172.2 kB / 475.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08715, allocations: 0 / 475.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.0874, allocations: 4 kB / 475.5 MB, free: 3.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003299/0.08774, allocations: 0.8246 MB / 476.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.631e-05/0.08777, allocations: 0 / 476.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.08778, allocations: 0 / 476.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.08778, allocations: 0 / 476.3 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.08814, allocations: 0.5263 MB / 476.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.08912, allocations: 0.9829 MB / 477.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.08937, allocations: 0.7121 MB / 478.5 MB, free: 112 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.08939, allocations: 4 kB / 478.5 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.08943, allocations: 27.42 kB / 478.5 MB, free: 80 kB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08944, allocations: 0 / 478.5 MB, free: 80 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.09992, allocations: 1.685 MB / 480.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.1001, allocations: 184.3 kB / 480.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.703, allocations: 0 / 480.4 MB, free: 14.29 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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) Environment - environmentSimulation: