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-master/package.mo", uses=false) 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) 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.001037/0.001037, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.319/1.319, allocations: 222.9 MB / 239 MB, free: 4.723 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.001475/0.001475, allocations: 184.5 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03488/0.03488, allocations: 8.791 MB / 348.2 MB, free: 4.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 74.67 kB / 410.7 MB, free: 42.33 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08117/0.0827, allocations: 51.56 MB / 462.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002301/0.08505, allocations: 1.27 MB / 463.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.08526, allocations: 51.78 kB / 463.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.0853, allocations: 0 / 463.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.212e-05/0.08539, allocations: 8 kB / 463.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.08552, allocations: 3.938 kB / 463.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.782e-05/0.08556, allocations: 7.984 kB / 463.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.08562, allocations: 12 kB / 463.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.08566, allocations: 7.938 kB / 463.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.08569, allocations: 7.938 kB / 463.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.08574, allocations: 11.97 kB / 463.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.08576, allocations: 0 / 463.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.08577, allocations: 4 kB / 463.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.08579, allocations: 3.938 kB / 463.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.08582, allocations: 4 kB / 463.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.696e-05/0.08588, allocations: 15.92 kB / 463.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.08589, allocations: 0 / 463.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08589, allocations: 4 kB / 463.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.0859, allocations: 4 kB / 463.7 MB, free: 13.22 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.0003596/0.08627, allocations: 319.5 kB / 464 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.08631, allocations: 12.03 kB / 464 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.08635, allocations: 30.75 kB / 464 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.08638, allocations: 0.9375 kB / 464 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.08651, allocations: 168.6 kB / 464.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.08653, allocations: 4.375 kB / 464.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.08655, allocations: 4.281 kB / 464.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.615e-05/0.08665, allocations: 55.91 kB / 464.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.08666, allocations: 3.938 kB / 464.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.08667, allocations: 0 / 464.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.08668, allocations: 4 kB / 464.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.546e-05/0.0867, allocations: 0 / 464.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.08697, allocations: 162.6 kB / 464.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.08703, allocations: 49.17 kB / 464.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.08706, allocations: 9.719 kB / 464.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.08708, allocations: 4.062 kB / 464.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.0871, allocations: 30.56 kB / 464.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.08711, allocations: 3.938 kB / 464.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.08724, allocations: 57.5 kB / 464.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.08729, allocations: 81.11 kB / 464.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.08737, allocations: 97.86 kB / 464.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.08739, allocations: 25.7 kB / 464.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.08743, allocations: 84.08 kB / 464.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.08746, allocations: 19.88 kB / 464.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.08749, allocations: 13.72 kB / 464.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.08761, allocations: 315.1 kB / 465.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.08763, allocations: 8 kB / 465.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.08766, allocations: 31.42 kB / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.08771, allocations: 35.38 kB / 465.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.08772, allocations: 4 kB / 465.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.862e-05/0.08782, allocations: 61.62 kB / 465.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.08784, allocations: 9.656 kB / 465.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.08784, allocations: 0 / 465.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.08786, allocations: 4 kB / 465.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.622e-05/0.0879, allocations: 4 kB / 465.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.08792, allocations: 7.922 kB / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.08795, allocations: 7.906 kB / 465.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.08796, allocations: 4.125 kB / 465.4 MB, free: 11.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.08804, allocations: 118.4 kB / 465.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.08805, allocations: 7.922 kB / 465.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.08807, allocations: 7.125 kB / 465.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.08808, allocations: 0 / 465.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.08809, allocations: 0 / 465.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.08809, allocations: 288 / 465.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.08825, allocations: 157.7 kB / 465.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.08826, allocations: 0 / 465.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.0883, allocations: 4 kB / 465.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.08831, allocations: 15.91 kB / 465.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.08833, allocations: 0 / 465.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.08833, allocations: 4 kB / 465.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.08834, allocations: 0 / 465.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.08845, allocations: 73.92 kB / 465.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.08849, allocations: 77.11 kB / 465.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.08852, allocations: 20.06 kB / 465.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.525e-05/0.08855, allocations: 3.938 kB / 465.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.08857, allocations: 0 / 465.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.08858, allocations: 4 kB / 465.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.08862, allocations: 83.27 kB / 465.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08862, allocations: 0 / 465.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.08883, allocations: 7.938 kB / 465.9 MB, free: 10.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003307/0.08917, allocations: 0.6132 MB / 466.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.08926, allocations: 19.94 kB / 466.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.08927, allocations: 0 / 466.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.08929, allocations: 4.406 kB / 466.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.08945, allocations: 14.16 kB / 466.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.0904, allocations: 1.206 MB / 467.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.09065, allocations: 0.6768 MB / 468.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.09067, allocations: 4 kB / 468.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.09071, allocations: 7.438 kB / 468.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09071, allocations: 0 / 468.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.1036, allocations: 1.069 MB / 469.5 MB, free: 6.879 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.1039, allocations: 184.2 kB / 469.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.722, allocations: 3.938 kB / 469.7 MB, free: 6.625 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/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)