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.005603/0.005603, allocations: 98.64 kB / 15.73 MB, free: 6.039 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.377/1.377, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001597/0.001597, allocations: 188.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03601/0.03601, allocations: 8.797 MB / 348.7 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 76.16 kB / 463.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09858, allocations: 51.55 MB / 0.5029 GB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0015/0.1001, allocations: 0.5145 MB / 0.5034 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1015, allocations: 1.092 MB / 0.5045 GB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.1016, allocations: 4 kB / 0.5045 GB, free: 8.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1018, allocations: 19.91 kB / 0.5045 GB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.1019, allocations: 19.92 kB / 0.5045 GB, free: 8.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.1019, allocations: 0 / 0.5045 GB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.102, allocations: 31.84 kB / 0.5045 GB, free: 8.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.102, allocations: 8.266 kB / 0.5045 GB, free: 8.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.1021, allocations: 12 kB / 0.5045 GB, free: 8.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1022, allocations: 31.83 kB / 0.5046 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1023, allocations: 0 / 0.5046 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.1023, allocations: 4 kB / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.1024, allocations: 63.86 kB / 0.5046 GB, free: 8.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.1025, allocations: 27.69 kB / 0.5047 GB, free: 8.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.1026, allocations: 55.64 kB / 0.5047 GB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1026, allocations: 0 / 0.5047 GB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1026, allocations: 4 kB / 0.5047 GB, free: 8.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1026, allocations: 0 / 0.5047 GB, free: 8.133 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004706/0.1031, allocations: 410.8 kB / 0.5051 GB, free: 7.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1031, allocations: 8.031 kB / 0.5051 GB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.1032, allocations: 110 kB / 0.5052 GB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.1032, allocations: 88.12 kB / 0.5053 GB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1035, allocations: 284.3 kB / 0.5056 GB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.1035, allocations: 154.9 kB / 0.5057 GB, free: 7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.1036, allocations: 158.9 kB / 0.5059 GB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.963e-05/0.1037, allocations: 113 kB / 0.506 GB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.1037, allocations: 75.28 kB / 0.5061 GB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.1038, allocations: 150.6 kB / 0.5062 GB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-05/0.1038, allocations: 154.6 kB / 0.5064 GB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.1039, allocations: 154.5 kB / 0.5065 GB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1042, allocations: 481.9 kB / 0.507 GB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.1043, allocations: 169.1 kB / 0.5071 GB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.1044, allocations: 84.14 kB / 0.5072 GB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1044, allocations: 79.28 kB / 0.5073 GB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.1045, allocations: 113.8 kB / 0.5074 GB, free: 5.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1045, allocations: 0 / 0.5074 GB, free: 5.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.708e-05/0.1046, allocations: 33.66 kB / 0.5074 GB, free: 5.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1046, allocations: 130.6 kB / 0.5075 GB, free: 5.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1049, allocations: 239.8 kB / 0.5078 GB, free: 4.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1049, allocations: 25.7 kB / 0.5078 GB, free: 4.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.105, allocations: 116.1 kB / 0.5079 GB, free: 4.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.105, allocations: 0 / 0.5079 GB, free: 4.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.105, allocations: 13.72 kB / 0.5079 GB, free: 4.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1052, allocations: 326.8 kB / 0.5082 GB, free: 4.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-06/0.1052, allocations: 0 / 0.5082 GB, free: 4.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.1052, allocations: 0 / 0.5082 GB, free: 4.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.1052, allocations: 75.28 kB / 0.5083 GB, free: 4.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-05/0.1053, allocations: 79.28 kB / 0.5084 GB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.801e-05/0.1053, allocations: 45.55 kB / 0.5084 GB, free: 4.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.1054, allocations: 83.28 kB / 0.5085 GB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.1054, allocations: 79.22 kB / 0.5086 GB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.346e-05/0.1055, allocations: 150.6 kB / 0.5087 GB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.67e-05/0.1055, allocations: 91.2 kB / 0.5088 GB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.751e-05/0.1056, allocations: 158.6 kB / 0.509 GB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.1057, allocations: 79.44 kB / 0.509 GB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.1058, allocations: 83.23 kB / 0.5091 GB, free: 3.379 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 (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.0001541/0.1059, allocations: 284.4 kB / 0.5094 GB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.106, allocations: 120.8 kB / 0.5095 GB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.1061, allocations: 121.5 kB / 0.5096 GB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/0.1062, allocations: 188.2 kB / 0.5098 GB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.1062, allocations: 184.2 kB / 0.51 GB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-05/0.1063, allocations: 184.2 kB / 0.5102 GB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.1066, allocations: 433.2 kB / 0.5106 GB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.043e-05/0.1067, allocations: 108.9 kB / 0.5107 GB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1067, allocations: 108.9 kB / 0.5108 GB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.1068, allocations: 180.3 kB / 0.5109 GB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.1069, allocations: 180.2 kB / 0.5111 GB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.924e-05/0.107, allocations: 176.3 kB / 0.5113 GB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.529e-05/0.107, allocations: 184.2 kB / 0.5115 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.1072, allocations: 319.8 kB / 0.5118 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1073, allocations: 197.9 kB / 0.512 GB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/0.1074, allocations: 184.2 kB / 0.5121 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1075, allocations: 104.9 kB / 0.5122 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.1076, allocations: 184.3 kB / 0.5124 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1077, allocations: 105 kB / 0.5125 GB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1078, allocations: 176.1 kB / 0.5127 GB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1078, allocations: 0 / 0.5127 GB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1081, allocations: 4 kB / 0.5127 GB, free: 15.5 MB / 366.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.0004327/0.1085, allocations: 0.8264 MB / 0.5135 GB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.499e-05/0.1085, allocations: 0 / 0.5135 GB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1086, allocations: 0 / 0.5135 GB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.1086, allocations: 3.938 kB / 0.5135 GB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1089, allocations: 455.7 kB / 0.5139 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1107, allocations: 2.05 MB / 0.5159 GB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.111, allocations: 0.7119 MB / 0.5166 GB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.111, allocations: 4 kB / 0.5166 GB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.1111, allocations: 27.42 kB / 0.5166 GB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1111, allocations: 0 / 0.5166 GB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1321, allocations: 1.879 MB / 0.5185 GB, free: 9.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.679, allocations: 10.12 kB / 0.5185 GB, free: 9.488 MB / 366.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/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)