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/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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.000808, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.302/1.302, allocations: 223.2 MB / 239 MB, free: 5.449 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.001561/0.001561, allocations: 168.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03313/0.03313, allocations: 8.783 MB / 350.1 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 10.88 kB / 413.3 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.0881, allocations: 52.56 MB / 465.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.00117/0.08932, allocations: 0.9199 MB / 466.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.08949, allocations: 47.83 kB / 466.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.08954, allocations: 4 kB / 466.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.803e-05/0.0896, allocations: 0 / 466.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.08972, allocations: 11.97 kB / 466.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.565e-05/0.08976, allocations: 3.938 kB / 466.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.08981, allocations: 11.94 kB / 466.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.08986, allocations: 11.94 kB / 466.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.08989, allocations: 3.938 kB / 466.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.08994, allocations: 7.984 kB / 466.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.08996, allocations: 0 / 466.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.08997, allocations: 0 / 466.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.08999, allocations: 8 kB / 466.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.09002, allocations: 29.64 kB / 466.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.317e-05/0.09007, allocations: 15.97 kB / 466.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09008, allocations: 0 / 466.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09009, allocations: 0 / 466.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.09009, allocations: 0 / 466.9 MB, free: 12.28 MB / 302.1 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.0003303/0.09043, allocations: 327.5 kB / 467.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.09047, allocations: 12.03 kB / 467.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.09051, allocations: 30.56 kB / 467.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.09054, allocations: 3.953 kB / 467.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.09067, allocations: 163.1 kB / 467.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.09069, allocations: 0 / 467.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.0907, allocations: 0 / 467.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.055e-05/0.09079, allocations: 59.33 kB / 467.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.0908, allocations: 0 / 467.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-06/0.09081, allocations: 0 / 467.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.09082, allocations: 3.953 kB / 467.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.09084, allocations: 4 kB / 467.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.0911, allocations: 162.6 kB / 467.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.09116, allocations: 49.16 kB / 467.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.09119, allocations: 13.7 kB / 467.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.0912, allocations: 0 / 467.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.09123, allocations: 34.62 kB / 467.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.09124, allocations: 0 / 467.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001213/0.09136, allocations: 49.53 kB / 467.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.09142, allocations: 81.36 kB / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.09151, allocations: 105.8 kB / 468 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.09153, allocations: 25.7 kB / 468 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.09156, allocations: 80.14 kB / 468.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.09159, allocations: 7.891 kB / 468.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.0916, allocations: 8 kB / 468.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.09171, allocations: 314.8 kB / 468.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.09173, allocations: 7.938 kB / 468.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.09176, allocations: 35.42 kB / 468.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.09179, allocations: 8 kB / 468.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0918, allocations: 3.938 kB / 468.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.143e-05/0.09189, allocations: 53.64 kB / 468.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.09191, allocations: 8.125 kB / 468.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.09192, allocations: 3.984 kB / 468.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.09193, allocations: 4 kB / 468.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.669e-05/0.09197, allocations: 11.94 kB / 468.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.09198, allocations: 0 / 468.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.09202, allocations: 7.953 kB / 468.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.09203, allocations: 0 / 468.6 MB, free: 10.37 MB / 302.1 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 7.806e-05/0.09212, allocations: 110.5 kB / 468.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.09213, allocations: 0 / 468.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.09215, allocations: 11.12 kB / 468.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.09216, allocations: 7.984 kB / 468.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.09217, allocations: 0 / 468.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.09218, allocations: 0 / 468.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.09233, allocations: 165.5 kB / 468.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.09234, allocations: 0 / 468.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.09238, allocations: 12 kB / 468.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.09239, allocations: 0 / 468.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.0924, allocations: 0 / 468.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.09241, allocations: 4 kB / 468.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.09242, allocations: 0 / 468.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.734e-05/0.09252, allocations: 81.88 kB / 468.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.09257, allocations: 81.09 kB / 469 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.09259, allocations: 4.031 kB / 469 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.09262, allocations: 0 / 469 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.09264, allocations: 4.281 kB / 469 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.09264, allocations: 0 / 469 MB, free: 9.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.09269, allocations: 87.36 kB / 469.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09269, allocations: 0 / 469.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.0929, allocations: 4 kB / 469.1 MB, free: 9.711 MB / 302.1 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.0003249/0.09323, allocations: 0.6216 MB / 469.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.0933, allocations: 19.88 kB / 469.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.09331, allocations: 0 / 469.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.09333, allocations: 4 kB / 469.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.09347, allocations: 5.875 kB / 469.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.09401, allocations: 414.6 kB / 470.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.09441, allocations: 0.6808 MB / 470.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.09444, allocations: 7.891 kB / 470.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.09447, allocations: 15.44 kB / 470.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09448, allocations: 4 kB / 470.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009423/0.1039, allocations: 0.9541 MB / 471.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.1041, allocations: 172.2 kB / 472 MB, free: 6.738 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.818, allocations: 4.062 kB / 472 MB, free: 6.734 MB / 302.1 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) Environment - environmentSimulation: