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.001201/0.001201, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 239.2 MB, free: 4.602 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.001346/0.001346, allocations: 192.5 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03456/0.03456, allocations: 8.794 MB / 348.5 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 78.89 kB / 411.2 MB, free: 42.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09328, allocations: 51.56 MB / 462.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003031/0.09637, allocations: 1.192 MB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.09669, allocations: 63.7 kB / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.09675, allocations: 0 / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.09687, allocations: 11.94 kB / 464 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.09705, allocations: 7.938 kB / 464 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-05/0.0971, allocations: 3.984 kB / 464 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.09719, allocations: 15.94 kB / 464 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.09726, allocations: 7.922 kB / 464 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.0973, allocations: 4 kB / 464.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.09738, allocations: 7.984 kB / 464.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.09741, allocations: 4 kB / 464.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.09743, allocations: 0 / 464.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.09746, allocations: 7.938 kB / 464.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.0975, allocations: 4 kB / 464.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.0976, allocations: 23.91 kB / 464.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09761, allocations: 0 / 464.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.09762, allocations: 0 / 464.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.09764, allocations: 0 / 464.1 MB, free: 12.94 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.0006224/0.09827, allocations: 321.9 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.09833, allocations: 8.031 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.09839, allocations: 34.75 kB / 464.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.09843, allocations: 8.938 kB / 464.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.09878, allocations: 168.6 kB / 464.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.09881, allocations: 4.312 kB / 464.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.09885, allocations: 12.27 kB / 464.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.09898, allocations: 39.98 kB / 464.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.09901, allocations: 3.938 kB / 464.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.09902, allocations: 0 / 464.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.09904, allocations: 4 kB / 464.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.09907, allocations: 7.984 kB / 464.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.09948, allocations: 166.5 kB / 464.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.09956, allocations: 37.17 kB / 464.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.0996, allocations: 17.84 kB / 464.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.09963, allocations: 4 kB / 464.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.09966, allocations: 34.5 kB / 465 MB, free: 11.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 3.967e-06/0.09967, allocations: 0 / 465 MB, free: 11.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.09987, allocations: 53.5 kB / 465 MB, free: 11.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.09995, allocations: 81.11 kB / 465.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.1001, allocations: 93.86 kB / 465.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1001, allocations: 33.95 kB / 465.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.1001, allocations: 88.12 kB / 465.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1002, allocations: 3.906 kB / 465.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1002, allocations: 17.72 kB / 465.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1004, allocations: 314.8 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.1004, allocations: 11.98 kB / 465.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.1005, allocations: 23.44 kB / 465.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.1006, allocations: 47.38 kB / 465.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1006, allocations: 0 / 465.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.1007, allocations: 53.62 kB / 465.8 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1007, allocations: 7.938 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1008, allocations: 8.125 kB / 465.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1008, allocations: 0 / 465.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.1008, allocations: 7.938 kB / 465.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1009, allocations: 4 kB / 465.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.1009, allocations: 7.906 kB / 465.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1009, allocations: 4 kB / 465.8 MB, free: 10.96 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 9.471e-05/0.101, allocations: 118.4 kB / 465.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1011, allocations: 7.938 kB / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.1011, allocations: 7.125 kB / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1011, allocations: 4 kB / 465.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1011, allocations: 0 / 465.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1011, allocations: 0 / 465.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1013, allocations: 153.7 kB / 466.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1014, allocations: 0 / 466.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.1014, allocations: 7.984 kB / 466.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1014, allocations: 7.938 kB / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1014, allocations: 4 kB / 466.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1015, allocations: 0 / 466.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1015, allocations: 3.938 kB / 466.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.1016, allocations: 77.98 kB / 466.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.1017, allocations: 81.14 kB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1017, allocations: 3.938 kB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.1017, allocations: 3.938 kB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.1018, allocations: 4 kB / 466.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1018, allocations: 0 / 466.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.1018, allocations: 91.36 kB / 466.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1019, allocations: 0 / 466.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1022, allocations: 4 kB / 466.4 MB, free: 10.29 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.0004938/0.1027, allocations: 0.6137 MB / 467 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.1028, allocations: 19.94 kB / 467 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1029, allocations: 0 / 467 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.1029, allocations: 7.984 kB / 467 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1031, allocations: 7.938 kB / 467 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1045, allocations: 1.2 MB / 468.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1049, allocations: 0.6768 MB / 468.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.105, allocations: 0 / 468.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.105, allocations: 15.44 kB / 468.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.105, allocations: 4 kB / 468.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.1235, allocations: 1.135 MB / 470 MB, free: 6.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.588, allocations: 8.672 kB / 470.1 MB, free: 6.48 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)