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.0009596/0.0009596, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.354/1.354, allocations: 223.2 MB / 238.9 MB, free: 5.41 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.001069/0.001069, allocations: 185 kB / 290.2 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03253/0.03253, allocations: 8.782 MB / 350 MB, free: 4.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003736, allocations: 9.312 kB / 413.2 MB, free: 42.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08941, allocations: 52.56 MB / 465.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0005928/0.09005, allocations: 238.3 kB / 466 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.09126, allocations: 1.063 MB / 467 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.0913, allocations: 0 / 467 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.09151, allocations: 11.97 kB / 467 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.09158, allocations: 19.97 kB / 467 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.09159, allocations: 0 / 467 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.09165, allocations: 19.97 kB / 467.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.09171, allocations: 11.98 kB / 467.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.09179, allocations: 15.88 kB / 467.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.09189, allocations: 31.89 kB / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.09191, allocations: 0 / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.09193, allocations: 0 / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.09206, allocations: 63.86 kB / 467.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.09209, allocations: 33.64 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.59e-05/0.09214, allocations: 31.97 kB / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.09215, allocations: 0 / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09216, allocations: 0 / 467.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09217, allocations: 0 / 467.3 MB, free: 11.88 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.0004262/0.0926, allocations: 403 kB / 467.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.09265, allocations: 8.031 kB / 467.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.09271, allocations: 109.8 kB / 467.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.09278, allocations: 91.05 kB / 467.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.09298, allocations: 275.1 kB / 468.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.09304, allocations: 150.6 kB / 468.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.09309, allocations: 158.5 kB / 468.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.266e-05/0.09316, allocations: 101 kB / 468.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.09319, allocations: 79.28 kB / 468.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.09325, allocations: 154.5 kB / 468.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.0933, allocations: 154.5 kB / 468.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.09336, allocations: 154.6 kB / 469.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.09367, allocations: 477.9 kB / 469.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.888e-05/0.09377, allocations: 181.1 kB / 469.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.0938, allocations: 75.28 kB / 469.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.09385, allocations: 109.8 kB / 469.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.09386, allocations: 0 / 469.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.514e-05/0.09394, allocations: 41.52 kB / 469.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.09401, allocations: 134.6 kB / 470 MB, free: 8.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.09426, allocations: 235.7 kB / 470.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.09428, allocations: 25.7 kB / 470.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.09436, allocations: 116.1 kB / 470.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.09437, allocations: 0 / 470.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.09437, allocations: 0 / 470.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.0945, allocations: 334.8 kB / 470.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.09451, allocations: 0 / 470.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-06/0.09452, allocations: 3.938 kB / 470.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.09455, allocations: 79.28 kB / 470.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/0.09458, allocations: 75.28 kB / 470.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.597e-05/0.09465, allocations: 41.59 kB / 470.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.09469, allocations: 79.28 kB / 471 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.09472, allocations: 83.23 kB / 471.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.475e-05/0.09478, allocations: 154.6 kB / 471.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.09481, allocations: 83.27 kB / 471.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.971e-05/0.09487, allocations: 162.5 kB / 471.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.145e-05/0.09496, allocations: 79.28 kB / 471.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.09499, allocations: 83.17 kB / 471.6 MB, free: 7.234 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.0001183/0.09511, allocations: 280.4 kB / 471.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.09518, allocations: 112.9 kB / 472 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.09523, allocations: 129.5 kB / 472.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.0953, allocations: 180.2 kB / 472.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.518e-05/0.09536, allocations: 176.3 kB / 472.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/0.09542, allocations: 180.2 kB / 472.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.09564, allocations: 441.2 kB / 473.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/0.09568, allocations: 112.9 kB / 473.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.09572, allocations: 105 kB / 473.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-05/0.09578, allocations: 176.3 kB / 473.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.09585, allocations: 184.2 kB / 473.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-05/0.09594, allocations: 176.3 kB / 473.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-05/0.096, allocations: 180.2 kB / 474 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.09614, allocations: 331.5 kB / 474.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.09623, allocations: 186 kB / 474.5 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.09631, allocations: 184.2 kB / 474.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.0964, allocations: 104.9 kB / 474.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.09647, allocations: 180.3 kB / 475 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.09651, allocations: 112.9 kB / 475.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.09665, allocations: 168.2 kB / 475.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09666, allocations: 0 / 475.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.0969, allocations: 4 kB / 475.3 MB, free: 3.391 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.000379/0.09728, allocations: 0.8208 MB / 476.1 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.292e-05/0.09732, allocations: 0 / 476.1 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.09733, allocations: 0 / 476.1 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.09734, allocations: 7.875 kB / 476.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.09766, allocations: 0.5242 MB / 476.6 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.09869, allocations: 0.9558 MB / 477.6 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.09898, allocations: 0.7121 MB / 478.3 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.393e-05/0.099, allocations: 3.984 kB / 478.3 MB, free: 260 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.09905, allocations: 23.44 kB / 478.3 MB, free: 236 kB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09906, allocations: 0 / 478.3 MB, free: 236 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.1098, allocations: 1.658 MB / 480 MB, free: 14.69 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.11, allocations: 185.3 kB / 480.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.642, allocations: 0 / 480.2 MB, free: 14.45 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: