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.005384/0.005384, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.427/1.427, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001796/0.001796, allocations: 180.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03495/0.03495, allocations: 8.8 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 79.88 kB / 463.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1176, allocations: 51.57 MB / 0.5029 GB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001866/0.1195, allocations: 0.5264 MB / 0.5034 GB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1211, allocations: 1.123 MB / 0.5045 GB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.1211, allocations: 0 / 0.5045 GB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1213, allocations: 7.984 kB / 0.5045 GB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1215, allocations: 23.86 kB / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.803e-05/0.1215, allocations: 7.984 kB / 0.5045 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.1216, allocations: 39.84 kB / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.1217, allocations: 4 kB / 0.5046 GB, free: 8.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1218, allocations: 31.83 kB / 0.5046 GB, free: 8.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.122, allocations: 31.91 kB / 0.5047 GB, free: 8.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.122, allocations: 4 kB / 0.5047 GB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.122, allocations: 0 / 0.5047 GB, free: 8.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.1221, allocations: 39.89 kB / 0.5047 GB, free: 8.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.1222, allocations: 35.67 kB / 0.5047 GB, free: 8.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.373e-05/0.1223, allocations: 47.77 kB / 0.5048 GB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1223, allocations: 0 / 0.5048 GB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1223, allocations: 0 / 0.5048 GB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1223, allocations: 0 / 0.5048 GB, free: 8.07 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.0006894/0.123, allocations: 411.2 kB / 0.5052 GB, free: 7.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.123, allocations: 12.03 kB / 0.5052 GB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.1231, allocations: 30.75 kB / 0.5052 GB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.1231, allocations: 12.75 kB / 0.5052 GB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1234, allocations: 220.1 kB / 0.5054 GB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1234, allocations: 384 / 0.5054 GB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1234, allocations: 384 / 0.5054 GB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1236, allocations: 49.8 kB / 0.5055 GB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1236, allocations: 0 / 0.5055 GB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1236, allocations: 4 kB / 0.5055 GB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1236, allocations: 0 / 0.5055 GB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.1236, allocations: 11.92 kB / 0.5055 GB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.1239, allocations: 197.6 kB / 0.5057 GB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.1239, allocations: 26.67 kB / 0.5057 GB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.124, allocations: 16.84 kB / 0.5057 GB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.124, allocations: 8 kB / 0.5057 GB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.124, allocations: 34.5 kB / 0.5058 GB, free: 6.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.1241, allocations: 0 / 0.5058 GB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.1243, allocations: 73.36 kB / 0.5058 GB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1243, allocations: 51.41 kB / 0.5059 GB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1245, allocations: 210.3 kB / 0.5061 GB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1246, allocations: 29.64 kB / 0.5061 GB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.1246, allocations: 116.1 kB / 0.5062 GB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1247, allocations: 3.906 kB / 0.5062 GB, free: 6.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1247, allocations: 17.72 kB / 0.5062 GB, free: 6.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1248, allocations: 322.8 kB / 0.5065 GB, free: 6.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.1249, allocations: 4 kB / 0.5066 GB, free: 6.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.1249, allocations: 7.984 kB / 0.5066 GB, free: 6.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.1249, allocations: 32.84 kB / 0.5066 GB, free: 5.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1249, allocations: 0 / 0.5066 GB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.619e-05/0.125, allocations: 61.47 kB / 0.5066 GB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.1251, allocations: 9.562 kB / 0.5067 GB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1251, allocations: 0 / 0.5067 GB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1251, allocations: 0 / 0.5067 GB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.1252, allocations: 8 kB / 0.5067 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1252, allocations: 0 / 0.5067 GB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.1253, allocations: 3.984 kB / 0.5067 GB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1253, allocations: 4 kB / 0.5067 GB, free: 5.891 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 8.876e-05/0.1254, allocations: 122.8 kB / 0.5068 GB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1254, allocations: 15.75 kB / 0.5068 GB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.1255, allocations: 74.88 kB / 0.5069 GB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1256, allocations: 8.031 kB / 0.5069 GB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1256, allocations: 0 / 0.5069 GB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1256, allocations: 0 / 0.5069 GB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1257, allocations: 177.6 kB / 0.5071 GB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1257, allocations: 0 / 0.5071 GB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.1258, allocations: 11.92 kB / 0.5071 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1258, allocations: 0 / 0.5071 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1258, allocations: 0 / 0.5071 GB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1258, allocations: 4 kB / 0.5071 GB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1258, allocations: 4 kB / 0.5071 GB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.1259, allocations: 80.97 kB / 0.5072 GB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.126, allocations: 100.8 kB / 0.5072 GB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.126, allocations: 0 / 0.5072 GB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.1261, allocations: 3.938 kB / 0.5073 GB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1261, allocations: 7.984 kB / 0.5073 GB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1261, allocations: 0 / 0.5073 GB, free: 5.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1263, allocations: 167.2 kB / 0.5074 GB, free: 5.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1263, allocations: 4 kB / 0.5074 GB, free: 5.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000191/0.1265, allocations: 8 kB / 0.5074 GB, free: 5.008 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.0004189/0.1269, allocations: 0.6123 MB / 0.508 GB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.127, allocations: 27.86 kB / 0.5081 GB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.127, allocations: 0 / 0.5081 GB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.832e-05/0.127, allocations: 12 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.0001643/0.1272, 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.001693/0.1289, allocations: 1.595 MB / 0.5096 GB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1292, allocations: 0.7002 MB / 0.5103 GB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.1293, allocations: 20.25 kB / 0.5103 GB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.1294, allocations: 23.42 kB / 0.5104 GB, free: 1.879 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1294, allocations: 0 / 0.5104 GB, free: 1.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.1516, allocations: 2.041 MB / 0.5123 GB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.772, allocations: 6.281 kB / 0.5124 GB, free: 15.91 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)