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.005518/0.005518, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04119/0.04119, allocations: 8.793 MB / 24.64 MB, free: 4.086 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 250.7 MB, free: 6.586 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.00094/0.0009397, allocations: 97.55 kB / 304 MB, free: 4.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 8 kB / 367.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 52.54 MB / 419.7 MB, free: 48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08942/0.3415, allocations: 76.45 MB / 496.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3417, allocations: 59.97 kB / 496.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001477/0.3432, allocations: 0.6153 MB / 496.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3432, allocations: 7.875 kB / 496.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3432, allocations: 0 / 496.8 MB, free: 11.85 MB / 362.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.0002671/0.3435, allocations: 338 kB / 497.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3436, allocations: 8.562 kB / 497.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.3436, allocations: 30.56 kB / 497.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.3436, allocations: 7.859 kB / 497.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3437, allocations: 163.1 kB / 497.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3438, allocations: 4.891 kB / 497.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3438, allocations: 4 kB / 497.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.3439, allocations: 45.38 kB / 497.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.3439, allocations: 0 / 497.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3439, allocations: 4 kB / 497.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3439, allocations: 3.953 kB / 497.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.3439, allocations: 4.969 kB / 497.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.3442, allocations: 167.3 kB / 497.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.3442, allocations: 38.62 kB / 497.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.3442, allocations: 0.5312 kB / 497.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3443, allocations: 35.3 kB / 497.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3443, allocations: 2.656 kB / 497.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000117/0.3444, allocations: 45.7 kB / 497.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3444, allocations: 77.11 kB / 497.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.3445, allocations: 100.9 kB / 497.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3445, allocations: 32.2 kB / 497.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.3446, allocations: 80.14 kB / 498 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3446, allocations: 3.906 kB / 498 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.3446, allocations: 4 kB / 498 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.3447, allocations: 318.8 kB / 498.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.3447, allocations: 5.312 kB / 498.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.3447, allocations: 27.44 kB / 498.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.3448, allocations: 19.28 kB / 498.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3448, allocations: 0 / 498.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.95e-05/0.3449, allocations: 57.53 kB / 498.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3449, allocations: 4 kB / 498.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3449, allocations: 12.3 kB / 498.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3449, allocations: 4 kB / 498.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.345, allocations: 12 kB / 498.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.345, allocations: 3.984 kB / 498.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.345, allocations: 0 / 498.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.345, allocations: 4 kB / 498.5 MB, free: 9.988 MB / 362.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 () * Number of clocked 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 6.229e-05/0.3451, allocations: 117.7 kB / 498.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.3451, allocations: 4 kB / 498.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.3451, allocations: 7.125 kB / 498.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3451, allocations: 7.938 kB / 498.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3451, allocations: 0 / 498.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3452, allocations: 4 kB / 498.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3453, allocations: 157.6 kB / 498.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3453, allocations: 4 kB / 498.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.3454, allocations: 4 kB / 498.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3454, allocations: 4 kB / 498.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3454, allocations: 0 / 498.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3454, allocations: 0 / 498.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3454, allocations: 0 / 498.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.3455, allocations: 99.53 kB / 498.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.3455, allocations: 77.11 kB / 498.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3456, allocations: 4 kB / 498.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.3456, allocations: 0 / 498.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.3456, allocations: 8.266 kB / 498.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3456, allocations: 3.938 kB / 498.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.3457, allocations: 87.36 kB / 499 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3457, allocations: 0 / 499 MB, free: 9.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.3459, allocations: 8 kB / 499 MB, free: 9.297 MB / 362.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 () * Number of clocked 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.0003799/0.3462, allocations: 0.7111 MB / 499.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.3463, allocations: 12 kB / 499.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3463, allocations: 0 / 499.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.3463, allocations: 8.25 kB / 499.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.464e-05/0.3464, allocations: 12.52 kB / 499.8 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.3471, allocations: 0.8654 MB / 0.4889 GB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3474, allocations: 0.6809 MB / 0.4896 GB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.658e-05/0.3474, allocations: 0 / 0.4896 GB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.3474, allocations: 7.438 kB / 0.4896 GB, free: 6.883 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3474, allocations: 0 / 0.4896 GB, free: 6.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.3582, allocations: 1.186 MB / 0.4907 GB, free: 5.82 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.3584, allocations: 162.1 kB / 0.4909 GB, free: 5.582 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/1.787, allocations: 0 / 0.4909 GB, free: 5.582 MB / 362.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)