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/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.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.000955/0.0009551, 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.352/1.352, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001099/0.0011, allocations: 184.6 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03214/0.03214, allocations: 8.779 MB / 350.1 MB, free: 4.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003733, allocations: 10.06 kB / 413.2 MB, free: 42.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 52.57 MB / 465.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.000643/0.1034, allocations: 250.3 kB / 466 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1047, allocations: 1.091 MB / 467.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.1048, allocations: 0 / 467.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.105, allocations: 7.984 kB / 467.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1051, allocations: 19.92 kB / 467.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.661e-05/0.1052, allocations: 15.92 kB / 467.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.425e-05/0.1053, allocations: 19.95 kB / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.1053, allocations: 4 kB / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.1054, allocations: 23.92 kB / 467.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1056, allocations: 39.88 kB / 467.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1056, allocations: 0 / 467.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.1056, allocations: 4 kB / 467.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.1057, allocations: 35.91 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.1057, allocations: 29.64 kB / 467.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.327e-05/0.1058, allocations: 31.95 kB / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1058, allocations: 0 / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1058, allocations: 0 / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1058, allocations: 4 kB / 467.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005875/0.1064, allocations: 395.2 kB / 467.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1065, allocations: 12.03 kB / 467.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1065, allocations: 34.56 kB / 467.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1066, allocations: 19.75 kB / 467.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1068, allocations: 219.3 kB / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1068, allocations: 4 kB / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1069, allocations: 0 / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.107, allocations: 45.56 kB / 468 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.107, allocations: 0 / 468 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.107, allocations: 4 kB / 468 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.107, allocations: 3.953 kB / 468 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.1071, allocations: 8 kB / 468 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.1073, allocations: 193.7 kB / 468.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.242e-05/0.1074, allocations: 30.56 kB / 468.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1074, allocations: 4 kB / 468.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1074, allocations: 34.5 kB / 468.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1074, allocations: 4 kB / 468.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.1076, allocations: 69.66 kB / 468.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1077, allocations: 51.41 kB / 468.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1079, allocations: 218.2 kB / 468.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1079, allocations: 25.7 kB / 468.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.108, allocations: 104.1 kB / 468.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1081, allocations: 11.81 kB / 468.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.1081, allocations: 4 kB / 468.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1082, allocations: 322.8 kB / 469.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.1082, allocations: 4 kB / 469.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.1083, allocations: 11.92 kB / 469.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.1083, allocations: 12 kB / 469.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1083, allocations: 0 / 469.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.922e-05/0.1084, allocations: 53.59 kB / 469.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1084, allocations: 4 kB / 469.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1084, allocations: 3.984 kB / 469.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1085, allocations: 8 kB / 469.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.1086, allocations: 7.984 kB / 469.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1086, allocations: 0 / 469.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1086, allocations: 4 kB / 469.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1086, allocations: 3.953 kB / 469.2 MB, free: 9.723 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1088, allocations: 121.8 kB / 469.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.1088, allocations: 11.91 kB / 469.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.1089, allocations: 74.45 kB / 469.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.109, allocations: 4 kB / 469.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.109, allocations: 0 / 469.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.109, allocations: 0 / 469.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1092, allocations: 189.5 kB / 469.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1092, allocations: 0 / 469.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.1092, allocations: 4 kB / 469.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1092, allocations: 0 / 469.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1092, allocations: 4 kB / 469.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1092, allocations: 0 / 469.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1092, allocations: 0 / 469.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1094, allocations: 92.91 kB / 469.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.1095, allocations: 92.95 kB / 469.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1095, allocations: 0 / 469.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.1095, allocations: 7.984 kB / 469.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1096, allocations: 432 / 469.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1096, allocations: 4 kB / 469.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1097, allocations: 168.2 kB / 469.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1097, allocations: 0 / 469.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001759/0.1099, allocations: 8 kB / 470 MB, free: 8.852 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 (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.0004011/0.1103, allocations: 0.6239 MB / 470.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.1104, allocations: 19.98 kB / 470.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1104, allocations: 0 / 470.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.1105, allocations: 11.98 kB / 470.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.1106, allocations: 8 kB / 470.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1116, allocations: 0.7068 MB / 471.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.112, allocations: 0.708 MB / 472 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.112, allocations: 12.27 kB / 472 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.1121, allocations: 39.3 kB / 472.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1121, allocations: 0 / 472.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.1241, allocations: 1.753 MB / 473.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.1244, allocations: 176.2 kB / 474 MB, free: 4.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.661, allocations: 4 kB / 474 MB, free: 4.746 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) Environment - environmentSimulation: