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-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.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.007867/0.007867, allocations: 95.77 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.421/1.421, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.00138/0.00138, allocations: 203.3 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.03518/0.03518, allocations: 8.804 MB / 348.7 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 79.86 kB / 463.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1063, allocations: 51.57 MB / 0.5029 GB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001598/0.108, allocations: 0.5282 MB / 0.5034 GB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1095, allocations: 1.123 MB / 0.5045 GB, free: 8.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.1095, allocations: 3.938 kB / 0.5045 GB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1097, allocations: 11.98 kB / 0.5045 GB, free: 8.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1098, allocations: 19.86 kB / 0.5046 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.178e-05/0.1098, allocations: 11.98 kB / 0.5046 GB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.1099, allocations: 31.91 kB / 0.5046 GB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.11, allocations: 11.92 kB / 0.5046 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1101, allocations: 27.86 kB / 0.5046 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1103, allocations: 35.89 kB / 0.5047 GB, free: 8.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1103, allocations: 4 kB / 0.5047 GB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.1103, allocations: 8 kB / 0.5047 GB, free: 8.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.1104, allocations: 35.89 kB / 0.5047 GB, free: 8.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.1105, allocations: 27.73 kB / 0.5047 GB, free: 8.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.1106, allocations: 43.7 kB / 0.5048 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1106, allocations: 4 kB / 0.5048 GB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1106, allocations: 0 / 0.5048 GB, free: 8.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1106, allocations: 0 / 0.5048 GB, free: 8.086 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006026/0.1112, allocations: 418.9 kB / 0.5052 GB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1113, allocations: 8.031 kB / 0.5052 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.1113, allocations: 34.69 kB / 0.5052 GB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.1113, allocations: 8.891 kB / 0.5052 GB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1116, allocations: 224.1 kB / 0.5054 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1116, allocations: 384 / 0.5054 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1116, allocations: 384 / 0.5054 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.958e-05/0.1117, allocations: 49.81 kB / 0.5055 GB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1117, allocations: 0 / 0.5055 GB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.1117, allocations: 0 / 0.5055 GB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1117, allocations: 3.938 kB / 0.5055 GB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.1118, allocations: 11.98 kB / 0.5055 GB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.112, allocations: 193.7 kB / 0.5057 GB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.1121, allocations: 38.5 kB / 0.5057 GB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.1121, allocations: 16.8 kB / 0.5057 GB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1121, allocations: 4 kB / 0.5058 GB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1122, allocations: 34.5 kB / 0.5058 GB, free: 6.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1122, allocations: 0 / 0.5058 GB, free: 6.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001757/0.1124, allocations: 73.61 kB / 0.5059 GB, free: 6.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1124, allocations: 55.41 kB / 0.5059 GB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1126, allocations: 210.3 kB / 0.5061 GB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1127, allocations: 25.7 kB / 0.5061 GB, free: 6.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1127, allocations: 108.1 kB / 0.5062 GB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1128, allocations: 7.953 kB / 0.5062 GB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1128, allocations: 13.72 kB / 0.5063 GB, free: 6.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1129, allocations: 322.8 kB / 0.5066 GB, free: 6.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.113, allocations: 4 kB / 0.5066 GB, free: 6.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.113, allocations: 11.98 kB / 0.5066 GB, free: 6.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.113, allocations: 24.84 kB / 0.5066 GB, free: 5.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1131, allocations: 0 / 0.5066 GB, free: 5.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.264e-05/0.1132, allocations: 65.47 kB / 0.5067 GB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1132, allocations: 13.56 kB / 0.5067 GB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1132, allocations: 336 / 0.5067 GB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1132, allocations: 0 / 0.5067 GB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1133, allocations: 4 kB / 0.5067 GB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1133, allocations: 0 / 0.5067 GB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.1134, allocations: 7.984 kB / 0.5067 GB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1134, allocations: 0 / 0.5067 GB, free: 5.902 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 (3): * Single equations (assignments): 3 * 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.0001036/0.1135, allocations: 126.8 kB / 0.5068 GB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1135, allocations: 15.88 kB / 0.5068 GB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.1136, allocations: 78.48 kB / 0.5069 GB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1137, allocations: 0 / 0.5069 GB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1137, allocations: 0 / 0.5069 GB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1137, allocations: 0 / 0.5069 GB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1138, allocations: 177.6 kB / 0.5071 GB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1138, allocations: 0 / 0.5071 GB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.1139, allocations: 15.92 kB / 0.5071 GB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1139, allocations: 0 / 0.5071 GB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1139, allocations: 4 kB / 0.5071 GB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.1139, allocations: 0 / 0.5071 GB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1139, allocations: 3.938 kB / 0.5071 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.114, allocations: 85.03 kB / 0.5072 GB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.1141, allocations: 96.92 kB / 0.5073 GB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1141, allocations: 0 / 0.5073 GB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.1142, allocations: 4 kB / 0.5073 GB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1142, allocations: 7.984 kB / 0.5073 GB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1142, allocations: 4 kB / 0.5073 GB, free: 5.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1144, allocations: 167.1 kB / 0.5074 GB, free: 5.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1144, allocations: 4 kB / 0.5074 GB, free: 5.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.1146, allocations: 8 kB / 0.5075 GB, free: 5.012 MB / 350.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 (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.000423/0.115, allocations: 0.6162 MB / 0.5081 GB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.287e-05/0.1151, allocations: 19.98 kB / 0.5081 GB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1151, allocations: 3.938 kB / 0.5081 GB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.1151, allocations: 16 kB / 0.5081 GB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1153, allocations: 4 kB / 0.5081 GB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1169, allocations: 1.592 MB / 0.5097 GB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1172, allocations: 0.7079 MB / 0.5103 GB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.048e-05/0.1173, allocations: 15.98 kB / 0.5104 GB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.1173, allocations: 31.42 kB / 0.5104 GB, free: 1.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1173, allocations: 0 / 0.5104 GB, free: 1.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.1395, allocations: 2.017 MB / 0.5124 GB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.667, allocations: 7.938 kB / 0.5124 GB, free: 15.92 MB / 366.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/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)