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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07714/0.07714, allocations: 8.713 MB / 16.79 MB, free: 3.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 240.9 MB, free: 13.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 95.94 kB / 293.9 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.992e-05, allocations: 4 kB / 352.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 52.55 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.5058, allocations: 76.28 MB / 481.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.5061, allocations: 62.53 kB / 481.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003029/0.5091, allocations: 1.145 MB / 482.8 MB, free: 9.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5091, allocations: 3.281 kB / 482.8 MB, free: 9.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.5092, allocations: 4 kB / 482.8 MB, free: 9.715 MB / 346.7 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.000223/0.5094, allocations: 376.5 kB / 483.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5094, allocations: 11.98 kB / 483.1 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.5095, allocations: 91.41 kB / 483.2 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.5097, allocations: 283.3 kB / 483.5 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.5097, allocations: 150.6 kB / 483.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5098, allocations: 155.6 kB / 483.8 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.439e-05/0.5098, allocations: 150.6 kB / 484 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.748e-05/0.5099, allocations: 101 kB / 484.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5099, allocations: 79.97 kB / 484.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.5099, allocations: 158.5 kB / 484.3 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.51, allocations: 150.6 kB / 484.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.5102, allocations: 462.2 kB / 484.9 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.5103, allocations: 169.1 kB / 485.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.5103, allocations: 88.14 kB / 485.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.5104, allocations: 78.8 kB / 485.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.5104, allocations: 105.8 kB / 485.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5104, allocations: 0.5625 kB / 485.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.519e-05/0.5105, allocations: 37.59 kB / 485.4 MB, free: 6.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5105, allocations: 55.34 kB / 485.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.5107, allocations: 205.8 kB / 485.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.5108, allocations: 25.7 kB / 485.6 MB, free: 6.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.5108, allocations: 119.2 kB / 485.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-06/0.5108, allocations: 1.125 kB / 485.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-07/0.5108, allocations: 0 / 485.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.5109, allocations: 330.7 kB / 486.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.5109, allocations: 0 / 486.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-06/0.5109, allocations: 0 / 486.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.5109, allocations: 75.28 kB / 486.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.5109, allocations: 86.59 kB / 486.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.128e-05/0.511, allocations: 41.52 kB / 486.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.511, allocations: 79.28 kB / 486.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5111, allocations: 79.22 kB / 486.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/0.5111, allocations: 158.5 kB / 486.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.244e-05/0.5111, allocations: 75.28 kB / 486.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.5111, allocations: 159.4 kB / 486.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.5112, allocations: 75.91 kB / 486.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.5112, allocations: 79.58 kB / 487 MB, free: 5.395 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.5113, allocations: 255.5 kB / 487.2 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.403e-05/0.5114, allocations: 154.4 kB / 487.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.5114, allocations: 112.6 kB / 487.5 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.5115, allocations: 130.1 kB / 487.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.5115, allocations: 179.6 kB / 487.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/0.5116, allocations: 180.2 kB / 488 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/0.5116, allocations: 184.2 kB / 488.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.5118, allocations: 417.9 kB / 488.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.5118, allocations: 109 kB / 488.6 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.5118, allocations: 104.9 kB / 488.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-05/0.5118, allocations: 176.3 kB / 488.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.5119, allocations: 176.3 kB / 489.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-05/0.5119, allocations: 184.2 kB / 489.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/0.512, allocations: 181.2 kB / 489.5 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.299e-05/0.512, allocations: 324.6 kB / 489.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.5121, allocations: 190 kB / 490 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.5121, allocations: 180.2 kB / 490.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.5122, allocations: 108.9 kB / 490.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5123, allocations: 180.7 kB / 490.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.5123, allocations: 101 kB / 490.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.508e-05/0.5124, allocations: 172.6 kB / 490.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5124, allocations: 0 / 490.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.5126, allocations: 4 kB / 490.7 MB, free: 1.5 MB / 346.7 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 () * 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 (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.0002242/0.5129, allocations: 0.8239 MB / 491.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.816e-05/0.5129, allocations: 4.031 kB / 491.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5129, allocations: 0 / 491.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5129, allocations: 32 / 491.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.5132, allocations: 0.5279 MB / 492 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.5136, allocations: 281.7 kB / 492.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.514, allocations: 0.7158 MB / 493 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.514, allocations: 0 / 493 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.5141, allocations: 26.8 kB / 493.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5141, allocations: 0 / 493.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.5333, allocations: 1.349 MB / 494.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5335, allocations: 130 kB / 494.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.12, allocations: 0 / 494.5 MB, free: 13.57 MB / 362.7 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/linux/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)