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.008145/0.008145, allocations: 101.8 kB / 15.73 MB, free: 6 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.332/1.332, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001337/0.001337, allocations: 192.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03384/0.03384, allocations: 8.803 MB / 348.7 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 83.88 kB / 463.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09176, allocations: 51.57 MB / 0.5029 GB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001345/0.09313, allocations: 0.5007 MB / 0.5034 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.09429, allocations: 1.092 MB / 0.5045 GB, free: 8.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.09432, allocations: 0 / 0.5045 GB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.0945, allocations: 19.92 kB / 0.5045 GB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.09456, allocations: 27.91 kB / 0.5045 GB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.515e-06/0.09457, allocations: 0 / 0.5045 GB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.09463, allocations: 27.91 kB / 0.5045 GB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.09467, allocations: 0 / 0.5045 GB, free: 8.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.09475, allocations: 23.92 kB / 0.5046 GB, free: 8.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.09484, allocations: 19.91 kB / 0.5046 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.09486, allocations: 4 kB / 0.5046 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.09487, allocations: 0 / 0.5046 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.095, allocations: 71.84 kB / 0.5046 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.09503, allocations: 23.69 kB / 0.5047 GB, free: 8.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.522e-05/0.09509, allocations: 47.78 kB / 0.5047 GB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.0951, allocations: 0 / 0.5047 GB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09511, allocations: 0 / 0.5047 GB, free: 8.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.09512, allocations: 0 / 0.5047 GB, free: 8.16 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.0003801/0.0955, allocations: 418.9 kB / 0.5051 GB, free: 7.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.09554, allocations: 12.03 kB / 0.5051 GB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.09559, allocations: 106 kB / 0.5052 GB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.09565, allocations: 88.06 kB / 0.5053 GB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.09583, allocations: 288.2 kB / 0.5056 GB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.09589, allocations: 154.9 kB / 0.5057 GB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.09595, allocations: 150.9 kB / 0.5059 GB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.885e-05/0.09601, allocations: 113 kB / 0.506 GB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.09603, allocations: 75.28 kB / 0.5061 GB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.09609, allocations: 150.6 kB / 0.5062 GB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.09615, allocations: 154.5 kB / 0.5063 GB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.09619, allocations: 154.6 kB / 0.5065 GB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.09644, allocations: 481.9 kB / 0.507 GB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.09652, allocations: 173.1 kB / 0.5071 GB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.09655, allocations: 80.14 kB / 0.5072 GB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.09658, allocations: 75.28 kB / 0.5073 GB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.09662, allocations: 113.7 kB / 0.5074 GB, free: 5.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.09663, allocations: 4 kB / 0.5074 GB, free: 5.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.23e-05/0.0967, allocations: 41.52 kB / 0.5074 GB, free: 5.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.09675, allocations: 126.7 kB / 0.5075 GB, free: 5.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.09696, allocations: 231.8 kB / 0.5078 GB, free: 4.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.09698, allocations: 25.7 kB / 0.5078 GB, free: 4.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.09706, allocations: 120.1 kB / 0.5079 GB, free: 4.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.09706, allocations: 0 / 0.5079 GB, free: 4.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.09709, allocations: 9.719 kB / 0.5079 GB, free: 4.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.0972, allocations: 330.8 kB / 0.5082 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-06/0.0972, allocations: 0 / 0.5082 GB, free: 4.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-06/0.09721, allocations: 0 / 0.5082 GB, free: 4.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.09724, allocations: 79.22 kB / 0.5083 GB, free: 4.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.882e-05/0.09729, allocations: 75.28 kB / 0.5084 GB, free: 4.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.885e-05/0.09735, allocations: 49.44 kB / 0.5084 GB, free: 4.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.09739, allocations: 79.28 kB / 0.5085 GB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.09741, allocations: 79.28 kB / 0.5086 GB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.803e-05/0.09747, allocations: 162.5 kB / 0.5087 GB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/0.09749, allocations: 75.28 kB / 0.5088 GB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-05/0.09754, allocations: 158.5 kB / 0.5089 GB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.09763, allocations: 79.44 kB / 0.509 GB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.09766, allocations: 87.28 kB / 0.5091 GB, free: 3.402 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.0001065/0.09777, allocations: 284.4 kB / 0.5094 GB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.09783, allocations: 120.8 kB / 0.5095 GB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.09789, allocations: 121.5 kB / 0.5096 GB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/0.09795, allocations: 184.2 kB / 0.5098 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.943e-05/0.098, allocations: 176.3 kB / 0.51 GB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/0.09806, allocations: 188.2 kB / 0.5101 GB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.09829, allocations: 437.1 kB / 0.5105 GB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.09833, allocations: 108.9 kB / 0.5107 GB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.09836, allocations: 108.9 kB / 0.5108 GB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.974e-05/0.09842, allocations: 180.2 kB / 0.5109 GB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.09847, allocations: 176.3 kB / 0.5111 GB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.901e-05/0.09853, allocations: 188.2 kB / 0.5113 GB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.612e-05/0.09858, allocations: 180.3 kB / 0.5114 GB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.09871, allocations: 319.6 kB / 0.5118 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.0988, allocations: 193.9 kB / 0.5119 GB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.09887, allocations: 192.2 kB / 0.5121 GB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.09897, allocations: 105 kB / 0.5122 GB, free: 16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.09904, allocations: 180.2 kB / 0.5124 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.09907, allocations: 105 kB / 0.5125 GB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.09921, allocations: 164.2 kB / 0.5126 GB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09921, allocations: 0 / 0.5126 GB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.09946, allocations: 4 kB / 0.5127 GB, free: 15.54 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.0003247/0.09979, allocations: 0.8263 MB / 0.5135 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 2.704e-05/0.09982, allocations: 0 / 0.5135 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.09983, allocations: 0 / 0.5135 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.09983, allocations: 4 kB / 0.5135 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1002, allocations: 459.7 kB / 0.5139 GB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1016, allocations: 2.046 MB / 0.5159 GB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1018, allocations: 0.7119 MB / 0.5166 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.145e-05/0.1018, allocations: 3.984 kB / 0.5166 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.1019, allocations: 23.44 kB / 0.5166 GB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1019, allocations: 0 / 0.5166 GB, free: 11.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.1173, allocations: 1.868 MB / 0.5184 GB, free: 9.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.049, allocations: 6.281 kB / 0.5184 GB, free: 9.543 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)