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.0009541/0.0009542, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.284/1.284, allocations: 223.2 MB / 238.9 MB, free: 5.641 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.001121/0.001121, allocations: 188.5 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03198/0.03198, allocations: 8.787 MB / 350.1 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 9.312 kB / 413.2 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08971, allocations: 52.56 MB / 465.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001409/0.09116, allocations: 0.9276 MB / 466.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000224/0.0914, allocations: 39.91 kB / 466.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.09145, allocations: 0 / 466.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.612e-05/0.09155, allocations: 11.88 kB / 466.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.09171, allocations: 7.984 kB / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.845e-05/0.09174, allocations: 0 / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.09182, allocations: 19.97 kB / 466.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.09189, allocations: 0 / 466.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.09193, allocations: 4 kB / 466.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.09199, allocations: 7.938 kB / 466.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.09201, allocations: 0 / 466.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.09203, allocations: 0 / 466.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.09205, allocations: 4 kB / 466.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.09208, allocations: 29.7 kB / 466.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.87e-05/0.09214, allocations: 7.969 kB / 466.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09215, allocations: 3.938 kB / 466.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.09215, allocations: 4 kB / 466.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.09217, allocations: 4 kB / 466.8 MB, free: 12.38 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.0004268/0.0926, allocations: 323.5 kB / 467.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.09266, allocations: 8.031 kB / 467.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.09272, allocations: 34.56 kB / 467.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.09275, allocations: 11.89 kB / 467.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.09292, allocations: 163.1 kB / 467.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.09294, allocations: 0 / 467.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.09297, allocations: 4 kB / 467.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.09306, allocations: 47.42 kB / 467.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.09308, allocations: 0 / 467.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.0931, allocations: 3.984 kB / 467.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.09311, allocations: 3.953 kB / 467.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.09314, allocations: 7.938 kB / 467.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.09344, allocations: 166.5 kB / 467.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.09352, allocations: 41.19 kB / 467.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.09354, allocations: 4 kB / 467.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.09357, allocations: 38.62 kB / 467.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.09358, allocations: 0 / 467.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.09372, allocations: 45.53 kB / 467.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.09378, allocations: 85.36 kB / 467.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.09387, allocations: 101.8 kB / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.09389, allocations: 29.69 kB / 467.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.09393, allocations: 84.14 kB / 468 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.09396, allocations: 7.906 kB / 468 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.09397, allocations: 0 / 468 MB, free: 10.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.09408, allocations: 314.8 kB / 468.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.0941, allocations: 4 kB / 468.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.09414, allocations: 35.42 kB / 468.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.09416, allocations: 8 kB / 468.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.09417, allocations: 0 / 468.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.084e-05/0.09425, allocations: 61.56 kB / 468.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.09427, allocations: 4 kB / 468.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.09428, allocations: 4.125 kB / 468.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.0943, allocations: 4 kB / 468.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.09434, allocations: 8 kB / 468.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.09435, allocations: 0 / 468.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.09439, allocations: 4 kB / 468.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.0944, allocations: 3.953 kB / 468.4 MB, free: 10.49 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 8.036e-05/0.09448, allocations: 113.8 kB / 468.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.0945, allocations: 3.938 kB / 468.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.09452, allocations: 15.05 kB / 468.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.09453, allocations: 4 kB / 468.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.09454, allocations: 0 / 468.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.09455, allocations: 0 / 468.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.09471, allocations: 169.5 kB / 468.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.09472, allocations: 0 / 468.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.09476, allocations: 4 kB / 468.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.09477, allocations: 0 / 468.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.09479, allocations: 3.984 kB / 468.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.09479, allocations: 7.938 kB / 468.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.0948, allocations: 0 / 468.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.09492, allocations: 91.66 kB / 468.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.09504, allocations: 77.11 kB / 468.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.09506, allocations: 7.969 kB / 468.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.09509, allocations: 0 / 468.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.09512, allocations: 0 / 468.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.09513, allocations: 4 kB / 468.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.769e-05/0.09517, allocations: 91.64 kB / 469 MB, free: 9.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09518, allocations: 0 / 469 MB, free: 9.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.09536, allocations: 7.953 kB / 469 MB, free: 9.793 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.0003483/0.09572, allocations: 0.6843 MB / 469.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.09579, allocations: 15.94 kB / 469.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0958, allocations: 0 / 469.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.09582, allocations: 7.938 kB / 469.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.512e-05/0.09592, allocations: 7.953 kB / 469.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.09658, allocations: 0.8557 MB / 470.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.09687, allocations: 0.6772 MB / 471.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.0969, allocations: 4 kB / 471.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.09693, allocations: 15.38 kB / 471.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09694, allocations: 0 / 471.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009775/0.1067, allocations: 0.9518 MB / 472.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.1069, allocations: 167.8 kB / 472.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.586, allocations: 0 / 472.4 MB, free: 6.309 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: