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.0007352/0.0007353, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.328/1.328, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.0009091/0.0009091, allocations: 183.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03203/0.03203, allocations: 8.806 MB / 350.5 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 11.28 kB / 413.9 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09228, allocations: 52.56 MB / 466.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001214/0.09353, allocations: 0.9277 MB / 467.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.09373, allocations: 51.78 kB / 467.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.09377, allocations: 0 / 467.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.905e-05/0.09386, allocations: 4 kB / 467.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.094, allocations: 3.938 kB / 467.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.23e-05/0.09404, allocations: 11.98 kB / 467.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.577e-05/0.09409, allocations: 11.94 kB / 467.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.09414, allocations: 7.938 kB / 467.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.09417, allocations: 7.984 kB / 467.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.09422, allocations: 11.98 kB / 467.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.09425, allocations: 0 / 467.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.09426, allocations: 3.938 kB / 467.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.09428, allocations: 0 / 467.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.09431, allocations: 29.7 kB / 467.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.762e-05/0.09438, allocations: 15.92 kB / 467.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.09439, allocations: 0 / 467.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.09439, allocations: 0 / 467.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.0944, allocations: 0 / 467.6 MB, free: 11.93 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.0003471/0.09475, allocations: 327.7 kB / 467.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.0948, allocations: 12.03 kB / 467.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.09484, allocations: 30.75 kB / 467.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.09487, allocations: 4.875 kB / 467.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.095, allocations: 164.4 kB / 468.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.09503, allocations: 8.375 kB / 468.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.09505, allocations: 384 / 468.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.09514, allocations: 51.91 kB / 468.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.09515, allocations: 3.938 kB / 468.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.09516, allocations: 0 / 468.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.09517, allocations: 4 kB / 468.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.0952, allocations: 3.984 kB / 468.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.09547, allocations: 170.5 kB / 468.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.09554, allocations: 41.19 kB / 468.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.09557, allocations: 13.7 kB / 468.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.09559, allocations: 4.062 kB / 468.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.09562, allocations: 34.56 kB / 468.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.09562, allocations: 3.938 kB / 468.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.09575, allocations: 49.47 kB / 468.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.09582, allocations: 85.36 kB / 468.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.0959, allocations: 97.86 kB / 468.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.09592, allocations: 29.64 kB / 468.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.09597, allocations: 84.14 kB / 468.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.096, allocations: 11.89 kB / 468.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.09602, allocations: 9.719 kB / 468.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.09613, allocations: 314.8 kB / 469.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.09615, allocations: 4 kB / 469.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.09618, allocations: 35.42 kB / 469.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.09624, allocations: 39.38 kB / 469.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09625, allocations: 0 / 469.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.344e-05/0.09635, allocations: 61.62 kB / 469.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.09637, allocations: 7.938 kB / 469.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.09638, allocations: 4 kB / 469.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.09639, allocations: 0 / 469.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/0.09643, allocations: 8 kB / 469.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.09644, allocations: 3.938 kB / 469.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.09648, allocations: 0 / 469.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.09649, allocations: 4 kB / 469.3 MB, free: 9.957 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 7.221e-05/0.09657, allocations: 118.6 kB / 469.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.09659, allocations: 11.84 kB / 469.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.09661, allocations: 7.109 kB / 469.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.09662, allocations: 0 / 469.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.09663, allocations: 0 / 469.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.09663, allocations: 4 kB / 469.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.0968, allocations: 157.6 kB / 469.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.09681, allocations: 7.938 kB / 469.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.09685, allocations: 0 / 469.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.09687, allocations: 7.938 kB / 469.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.09688, allocations: 4 kB / 469.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.09689, allocations: 3.984 kB / 469.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.0969, allocations: 0 / 469.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.09702, allocations: 81.95 kB / 469.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.09706, allocations: 77.11 kB / 469.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.09708, allocations: 7.875 kB / 469.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.09711, allocations: 96 / 469.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.09713, allocations: 8 kB / 469.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.09713, allocations: 0 / 469.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.09718, allocations: 83.27 kB / 469.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09719, allocations: 0 / 469.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.09737, allocations: 8 kB / 469.8 MB, free: 9.281 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.0003377/0.09772, allocations: 0.6136 MB / 470.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.09779, allocations: 12 kB / 470.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0978, allocations: 3.938 kB / 470.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.09782, allocations: 4 kB / 470.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.09798, allocations: 8 kB / 470.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.0989, allocations: 1.198 MB / 471.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.09915, allocations: 0.6887 MB / 472.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.708e-05/0.09917, allocations: 0 / 472.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.09921, allocations: 11.44 kB / 472.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09921, allocations: 0 / 472.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009785/0.109, allocations: 0.9757 MB / 473.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.1093, allocations: 181.5 kB / 473.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.735, allocations: 3.984 kB / 473.5 MB, free: 5.441 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)