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.005343/0.005348, allocations: 95.83 kB / 15.73 MB, free: 6.484 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.352/1.352, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001376/0.001376, allocations: 196.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03582/0.03582, allocations: 8.798 MB / 348.7 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 463.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09816, allocations: 51.56 MB / 0.5029 GB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002226/0.1004, allocations: 1.201 MB / 0.5041 GB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.1007, allocations: 55.77 kB / 0.5041 GB, free: 8.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.1007, allocations: 4 kB / 0.5041 GB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.878e-05/0.1008, allocations: 8 kB / 0.5041 GB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1009, allocations: 7.922 kB / 0.5041 GB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.793e-05/0.101, allocations: 0 / 0.5041 GB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.1011, allocations: 23.86 kB / 0.5042 GB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.1011, allocations: 4 kB / 0.5042 GB, free: 8.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.1011, allocations: 4 kB / 0.5042 GB, free: 8.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.1012, allocations: 11.92 kB / 0.5042 GB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1012, allocations: 0 / 0.5042 GB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.1012, allocations: 0 / 0.5042 GB, free: 8.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.1012, allocations: 8 kB / 0.5042 GB, free: 8.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.1013, allocations: 11.92 kB / 0.5042 GB, free: 8.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.1013, allocations: 12.2 kB / 0.5042 GB, free: 8.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1013, allocations: 0 / 0.5042 GB, free: 8.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1013, allocations: 0 / 0.5042 GB, free: 8.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1014, allocations: 0 / 0.5042 GB, free: 8.688 MB / 350.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.0004163/0.1018, allocations: 331.4 kB / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1018, allocations: 8.031 kB / 0.5045 GB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1019, allocations: 34.75 kB / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.1019, allocations: 4.938 kB / 0.5046 GB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1021, allocations: 168.3 kB / 0.5047 GB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1021, allocations: 4.375 kB / 0.5047 GB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1021, allocations: 4.359 kB / 0.5047 GB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.1022, allocations: 43.97 kB / 0.5048 GB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1022, allocations: 3.938 kB / 0.5048 GB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1022, allocations: 0 / 0.5048 GB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1022, allocations: 0 / 0.5048 GB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.52e-05/0.1023, allocations: 15.94 kB / 0.5048 GB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.1026, allocations: 166.5 kB / 0.505 GB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.139e-05/0.1026, allocations: 37.08 kB / 0.505 GB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.1027, allocations: 13.84 kB / 0.505 GB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.1027, allocations: 0 / 0.505 GB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1027, allocations: 38.56 kB / 0.505 GB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1027, allocations: 0 / 0.505 GB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.1029, allocations: 49.56 kB / 0.5051 GB, free: 7.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1029, allocations: 77.11 kB / 0.5052 GB, free: 7.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.103, allocations: 101.9 kB / 0.5053 GB, free: 7.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.103, allocations: 25.7 kB / 0.5053 GB, free: 7.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.1031, allocations: 84.39 kB / 0.5054 GB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.1031, allocations: 11.94 kB / 0.5054 GB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1031, allocations: 21.66 kB / 0.5054 GB, free: 7.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1033, allocations: 310.8 kB / 0.5057 GB, free: 6.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.1033, allocations: 8 kB / 0.5057 GB, free: 6.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.1033, allocations: 27.42 kB / 0.5057 GB, free: 6.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.1034, allocations: 47.38 kB / 0.5058 GB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1034, allocations: 0 / 0.5058 GB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.803e-05/0.1035, allocations: 61.52 kB / 0.5058 GB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1035, allocations: 11.94 kB / 0.5058 GB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1035, allocations: 0 / 0.5058 GB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1035, allocations: 128 / 0.5058 GB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.1036, allocations: 12 kB / 0.5059 GB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1036, allocations: 3.984 kB / 0.5059 GB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.1036, allocations: 7.938 kB / 0.5059 GB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1036, allocations: 8 kB / 0.5059 GB, free: 6.695 MB / 350.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 8.2e-05/0.1037, allocations: 117.7 kB / 0.506 GB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1037, allocations: 7.938 kB / 0.506 GB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.1038, allocations: 3.125 kB / 0.506 GB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1038, allocations: 0 / 0.506 GB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1038, allocations: 7.938 kB / 0.506 GB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1038, allocations: 4 kB / 0.506 GB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.104, allocations: 157.7 kB / 0.5062 GB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.104, allocations: 0 / 0.5062 GB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.104, allocations: 4 kB / 0.5062 GB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.104, allocations: 7.922 kB / 0.5062 GB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1041, allocations: 3.938 kB / 0.5062 GB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1041, allocations: 0 / 0.5062 GB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1041, allocations: 0 / 0.5062 GB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1042, allocations: 85.94 kB / 0.5063 GB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1042, allocations: 77.11 kB / 0.5063 GB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1043, allocations: 3.938 kB / 0.5063 GB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.1043, allocations: 4.312 kB / 0.5063 GB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.1043, allocations: 3.938 kB / 0.5063 GB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.1043, allocations: 0 / 0.5063 GB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.1044, allocations: 91.25 kB / 0.5064 GB, free: 6.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1044, allocations: 96 / 0.5064 GB, free: 6.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1046, allocations: 8 kB / 0.5064 GB, free: 6.02 MB / 350.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.0003767/0.105, allocations: 0.6055 MB / 0.507 GB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.1051, allocations: 20.03 kB / 0.507 GB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1051, allocations: 0 / 0.507 GB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.1051, allocations: 7.938 kB / 0.5071 GB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1052, allocations: 11.92 kB / 0.5071 GB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1064, allocations: 1.192 MB / 0.5082 GB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1067, allocations: 0.6805 MB / 0.5089 GB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.1067, allocations: 0 / 0.5089 GB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.1067, allocations: 15.44 kB / 0.5089 GB, free: 3.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1067, allocations: 0 / 0.5089 GB, free: 3.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1284, allocations: 1.164 MB / 0.51 GB, free: 2.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.679, allocations: 10.5 kB / 0.5101 GB, free: 2.207 MB / 350.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)