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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07227/0.07227, allocations: 8.699 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.4 MB / 246 MB, free: 3.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008625, allocations: 94.86 kB / 299.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.893e-05, allocations: 8 kB / 359.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2914, allocations: 52.54 MB / 412.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3962, allocations: 76.4 MB / 488.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3965, allocations: 64.52 kB / 488.6 MB, free: 9.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001614/0.3981, allocations: 0.615 MB / 489.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3981, allocations: 0 / 489.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3981, allocations: 0.9375 kB / 489.2 MB, free: 9.352 MB / 362.7 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.000287/0.3984, allocations: 323 kB / 489.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3985, allocations: 12.02 kB / 489.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.3985, allocations: 30.56 kB / 489.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.3986, allocations: 7.953 kB / 489.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3988, allocations: 163 kB / 489.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3988, allocations: 7.938 kB / 489.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3988, allocations: 4 kB / 489.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.3989, allocations: 47.41 kB / 489.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3989, allocations: 0 / 489.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3989, allocations: 0 / 489.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.399, allocations: 3.953 kB / 489.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.399, allocations: 7.938 kB / 489.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.3993, allocations: 162.6 kB / 490 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.3994, allocations: 45.16 kB / 490 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.3994, allocations: 9.719 kB / 490 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3994, allocations: 0 / 490 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3995, allocations: 38.56 kB / 490.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3995, allocations: 0 / 490.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.3996, allocations: 45.69 kB / 490.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3997, allocations: 81.05 kB / 490.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3998, allocations: 100.9 kB / 490.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3998, allocations: 25.7 kB / 490.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.3999, allocations: 88.12 kB / 490.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3999, allocations: 7.891 kB / 490.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-06/0.3999, allocations: 0 / 490.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4001, allocations: 318.9 kB / 490.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.4001, allocations: 4 kB / 490.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.4001, allocations: 31.44 kB / 490.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.4002, allocations: 11.98 kB / 490.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4002, allocations: 0 / 490.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.08e-05/0.4003, allocations: 61.52 kB / 490.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4003, allocations: 8 kB / 490.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4003, allocations: 0 / 490.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4003, allocations: 0 / 490.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.4004, allocations: 11.98 kB / 490.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4004, allocations: 0 / 490.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.4004, allocations: 11.91 kB / 490.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4004, allocations: 3.953 kB / 490.9 MB, free: 7.457 MB / 362.7 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 () * 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 7.437e-05/0.4005, allocations: 109.1 kB / 491 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.4005, allocations: 4 kB / 491 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.4006, allocations: 3.125 kB / 491 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4006, allocations: 0 / 491 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4006, allocations: 4 kB / 491 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4006, allocations: 0 / 491 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4007, allocations: 165.5 kB / 491.1 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4008, allocations: 4 kB / 491.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.4008, allocations: 7.938 kB / 491.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4008, allocations: 0 / 491.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4008, allocations: 4 kB / 491.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4008, allocations: 0 / 491.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4008, allocations: 0 / 491.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.401, allocations: 91.66 kB / 491.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.401, allocations: 81.02 kB / 491.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.4011, allocations: 0 / 491.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.4011, allocations: 8.125 kB / 491.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.4011, allocations: 7.922 kB / 491.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4011, allocations: 0 / 491.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.4012, allocations: 83.28 kB / 491.4 MB, free: 6.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4012, allocations: 3.938 kB / 491.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.4014, allocations: 11.95 kB / 491.4 MB, free: 6.777 MB / 362.7 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 () * 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.000472/0.4019, allocations: 0.6955 MB / 492.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.402, allocations: 24.03 kB / 492.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.402, allocations: 0 / 492.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/0.402, allocations: 4 kB / 492.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.4021, allocations: 3.953 kB / 492.2 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.4024, allocations: 131.4 kB / 492.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.4027, allocations: 0.6813 MB / 493 MB, free: 5.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.4028, allocations: 4 kB / 493 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.4028, allocations: 11.44 kB / 493 MB, free: 5.125 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4028, allocations: 0 / 493 MB, free: 5.125 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.4147, allocations: 1.195 MB / 494.2 MB, free: 4.027 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.4149, allocations: 135.2 kB / 494.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.947, allocations: 4.062 kB / 494.3 MB, free: 3.805 MB / 362.7 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)