Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",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.001033/0.001033, allocations: 180.9 kB / 7.651 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.04417/0.04417, allocations: 8.717 MB / 16.79 MB, free: 3.383 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.469/1.469, 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.001/0.001, allocations: 93.47 kB / 293.8 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.68e-05, allocations: 0 / 352.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 52.55 MB / 405.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.5161, allocations: 75.72 MB / 481 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.5163, allocations: 60.81 kB / 481 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001314/0.5176, allocations: 0.6131 MB / 481.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5177, allocations: 0 / 481.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.5177, allocations: 0 / 481.7 MB, free: 10.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002167/0.5179, allocations: 326.6 kB / 482 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5179, allocations: 11.98 kB / 482 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.518, allocations: 7.438 kB / 482 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5181, allocations: 159.1 kB / 482.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5181, allocations: 4.688 kB / 482.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.5182, allocations: 5.25 kB / 482.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.565e-05/0.5182, allocations: 0.8438 kB / 482.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.587e-05/0.5183, allocations: 51.97 kB / 482.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.5183, allocations: 0 / 482.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.5183, allocations: 4.453 kB / 482.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.5183, allocations: 0 / 482.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.5185, allocations: 144.9 kB / 482.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.5186, allocations: 37.31 kB / 482.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.5186, allocations: 11.75 kB / 482.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.5186, allocations: 3.656 kB / 482.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.5186, allocations: 38.56 kB / 482.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.5187, allocations: 0 / 482.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.5188, allocations: 43.09 kB / 482.5 MB, free: 9.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.5188, allocations: 77.67 kB / 482.6 MB, free: 9.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.5189, allocations: 89 kB / 482.7 MB, free: 9.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.5189, allocations: 34.77 kB / 482.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.5189, allocations: 84.12 kB / 482.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.5189, allocations: 7.281 kB / 482.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-06/0.5189, allocations: 0 / 482.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.519, allocations: 323.3 kB / 483.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.519, allocations: 4 kB / 483.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.519, allocations: 29.22 kB / 483.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.5191, allocations: 11.42 kB / 483.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5191, allocations: 0 / 483.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.59e-05/0.5191, allocations: 53.86 kB / 483.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5192, allocations: 4 kB / 483.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5192, allocations: 7.828 kB / 483.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5192, allocations: 0 / 483.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.477e-05/0.5192, allocations: 11.98 kB / 483.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5192, allocations: 3.938 kB / 483.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.5193, allocations: 3.906 kB / 483.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.5193, allocations: 4 kB / 483.2 MB, free: 8.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.795e-05/0.5193, allocations: 113.6 kB / 483.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.546e-05/0.5194, allocations: 42.94 kB / 483.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.5194, allocations: 4 kB / 483.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.5194, allocations: 3.75 kB / 483.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5194, allocations: 0 / 483.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/0.5195, allocations: 0 / 483.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5195, allocations: 7.953 kB / 483.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.5196, allocations: 141.9 kB / 483.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5196, allocations: 0 / 483.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.5196, allocations: 8.047 kB / 483.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5197, allocations: 8.656 kB / 483.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.5197, allocations: 0 / 483.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5197, allocations: 2.75 kB / 483.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5197, allocations: 0 / 483.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.5198, allocations: 91 kB / 483.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.5198, allocations: 85.23 kB / 483.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.5198, allocations: 0 / 483.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/0.5199, allocations: 1.125 kB / 483.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.5199, allocations: 3.938 kB / 483.7 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.5199, allocations: 4 kB / 483.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.471e-05/0.5199, allocations: 87.11 kB / 483.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5199, allocations: 0 / 483.8 MB, free: 8.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.5202, allocations: 7.984 kB / 483.8 MB, free: 8.273 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002703/0.5204, allocations: 0.6944 MB / 484.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.642e-05/0.5205, allocations: 15.38 kB / 484.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5205, allocations: 0 / 484.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.5205, allocations: 4 kB / 484.5 MB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.5206, allocations: 11.14 kB / 484.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.5209, allocations: 128 kB / 484.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.521, allocations: 0.6849 MB / 485.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.5211, allocations: 4 kB / 485.4 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.5211, allocations: 7.438 kB / 485.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5211, allocations: 0 / 485.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.5406, allocations: 0.7831 MB / 486.2 MB, free: 5.898 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.5408, allocations: 116.8 kB / 486.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.186, allocations: 5.688 kB / 486.3 MB, free: 5.707 MB / 346.7 MB (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_TestVector2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)