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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.322/1.322, allocations: 222.9 MB / 238.9 MB, free: 4.762 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.001698/0.001698, allocations: 184.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04526/0.04526, allocations: 8.797 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 76.69 kB / 410.5 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.091, allocations: 51.56 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002714/0.09376, allocations: 1.268 MB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.09397, allocations: 55.78 kB / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.09401, allocations: 0 / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.27e-05/0.0941, allocations: 11.98 kB / 463.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.09424, allocations: 0 / 463.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.2e-05/0.09427, allocations: 4 kB / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.09433, allocations: 15.88 kB / 463.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.09437, allocations: 7.984 kB / 463.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.09439, allocations: 3.984 kB / 463.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.09445, allocations: 11.94 kB / 463.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.09447, allocations: 0 / 463.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.09449, allocations: 4 kB / 463.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.09451, allocations: 4 kB / 463.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.09453, allocations: 3.938 kB / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.78e-05/0.09459, allocations: 19.92 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.0946, allocations: 0 / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.09461, allocations: 0 / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.09462, allocations: 0 / 463.5 MB, free: 13.36 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.0003626/0.09498, allocations: 323.5 kB / 463.8 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.09503, allocations: 12.03 kB / 463.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.09507, allocations: 30.75 kB / 463.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.09509, allocations: 4.938 kB / 463.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.09523, allocations: 172.6 kB / 464 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.09525, allocations: 4.375 kB / 464 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.09528, allocations: 8.266 kB / 464 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.09537, allocations: 43.98 kB / 464.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.09539, allocations: 3.938 kB / 464.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.0954, allocations: 0 / 464.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.09542, allocations: 0 / 464.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.09544, allocations: 19.86 kB / 464.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.09575, allocations: 162.6 kB / 464.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.09581, allocations: 41.16 kB / 464.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.09585, allocations: 9.719 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.09587, allocations: 0 / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.09589, allocations: 38.62 kB / 464.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.0959, allocations: 0 / 464.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001283/0.09603, allocations: 49.56 kB / 464.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.09608, allocations: 77.11 kB / 464.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.09617, allocations: 109.8 kB / 464.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.09619, allocations: 25.7 kB / 464.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.09623, allocations: 84.39 kB / 464.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.09626, allocations: 3.906 kB / 464.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.0963, allocations: 17.72 kB / 464.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.09641, allocations: 318.8 kB / 465 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.09643, allocations: 4 kB / 465 MB, free: 11.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.09646, allocations: 35.38 kB / 465 MB, free: 11.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.09652, allocations: 35.44 kB / 465.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.09652, allocations: 7.922 kB / 465.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.589e-05/0.09661, allocations: 53.64 kB / 465.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.09664, allocations: 11.94 kB / 465.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.09664, allocations: 0 / 465.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.09666, allocations: 4.125 kB / 465.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.86e-05/0.0967, allocations: 11.98 kB / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.09671, allocations: 0 / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.09675, allocations: 3.906 kB / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.09676, allocations: 4 kB / 465.2 MB, free: 11.38 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.485e-05/0.09683, allocations: 118.4 kB / 465.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.09685, allocations: 3.938 kB / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.09687, allocations: 7.125 kB / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.09688, allocations: 0 / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.09689, allocations: 8 kB / 465.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.0969, allocations: 0 / 465.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.09706, allocations: 161.7 kB / 465.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.09707, allocations: 0 / 465.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.09711, allocations: 8 kB / 465.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.09712, allocations: 7.875 kB / 465.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.09713, allocations: 0 / 465.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.09714, allocations: 0 / 465.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.09714, allocations: 0 / 465.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.09726, allocations: 81.92 kB / 465.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.0973, allocations: 77.11 kB / 465.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.09732, allocations: 3.938 kB / 465.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.991e-05/0.09735, allocations: 12.3 kB / 465.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.09737, allocations: 0 / 465.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.09737, allocations: 0 / 465.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.09741, allocations: 83.27 kB / 465.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09742, allocations: 4.094 kB / 465.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.09764, allocations: 4 kB / 465.7 MB, free: 10.71 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.0003403/0.09798, allocations: 0.6132 MB / 466.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.886e-05/0.09807, allocations: 24.02 kB / 466.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09808, allocations: 0 / 466.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.0981, allocations: 7.938 kB / 466.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.09824, allocations: 4 kB / 466.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.0992, allocations: 1.194 MB / 467.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.09945, allocations: 0.677 MB / 468.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.101e-05/0.09948, allocations: 3.984 kB / 468.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.09951, allocations: 15.44 kB / 468.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.09952, allocations: 0 / 468.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.1096, allocations: 1.034 MB / 469.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.1098, allocations: 182.4 kB / 469.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.724, allocations: 0 / 469.5 MB, free: 6.793 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)