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.001071/0.001071, allocations: 105.4 kB / 15.7 MB, free: 24 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.386/1.386, allocations: 222.9 MB / 239.3 MB, free: 4.52 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.00127/0.00127, allocations: 192.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03485/0.03485, allocations: 8.789 MB / 348.6 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 78.94 kB / 411.3 MB, free: 41.88 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09781, allocations: 51.56 MB / 462.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002318/0.1002, allocations: 1.197 MB / 464.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.1004, allocations: 59.77 kB / 464.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.1005, allocations: 4 kB / 464.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.237e-05/0.1006, allocations: 3.938 kB / 464.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1007, allocations: 19.86 kB / 464.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.163e-05/0.1007, allocations: 7.984 kB / 464.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.1008, allocations: 8 kB / 464.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.1008, allocations: 7.938 kB / 464.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.1009, allocations: 8 kB / 464.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.1009, allocations: 11.92 kB / 464.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.101, allocations: 0 / 464.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.101, allocations: 0 / 464.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.101, allocations: 0 / 464.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.101, allocations: 15.92 kB / 464.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.806e-05/0.1011, allocations: 11.98 kB / 464.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1011, allocations: 0 / 464.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1011, allocations: 0 / 464.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1011, allocations: 0 / 464.3 MB, free: 12.67 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.0003745/0.1015, allocations: 325 kB / 464.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1015, allocations: 8.031 kB / 464.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.1016, allocations: 30.75 kB / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.1016, allocations: 4.938 kB / 464.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1018, allocations: 168.6 kB / 464.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1018, allocations: 384 / 464.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1018, allocations: 12.28 kB / 464.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.1019, allocations: 47.92 kB / 464.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1019, allocations: 3.938 kB / 464.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1019, allocations: 3.938 kB / 464.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1019, allocations: 0 / 464.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.102, allocations: 4 kB / 464.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.1023, allocations: 166.5 kB / 465 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.1024, allocations: 41.12 kB / 465.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.1024, allocations: 13.84 kB / 465.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1024, allocations: 3.938 kB / 465.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1024, allocations: 30.56 kB / 465.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1024, allocations: 4 kB / 465.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000152/0.1026, allocations: 53.56 kB / 465.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1026, allocations: 77.11 kB / 465.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.1027, allocations: 109.8 kB / 465.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1028, allocations: 29.64 kB / 465.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.1028, allocations: 80.14 kB / 465.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1028, allocations: 7.906 kB / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.1029, allocations: 13.97 kB / 465.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.103, allocations: 318.8 kB / 465.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.103, allocations: 7.984 kB / 465.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.103, allocations: 27.44 kB / 465.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.1031, allocations: 43.38 kB / 465.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1031, allocations: 0 / 465.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.093e-05/0.1032, allocations: 61.62 kB / 465.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1032, allocations: 7.938 kB / 465.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1032, allocations: 4 kB / 465.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1032, allocations: 0 / 465.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-05/0.1033, allocations: 8 kB / 465.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1033, allocations: 3.938 kB / 465.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.1033, allocations: 12.02 kB / 466 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1033, allocations: 4 kB / 466 MB, free: 10.69 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.105e-05/0.1034, allocations: 118.4 kB / 466.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1034, allocations: 7.938 kB / 466.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.1034, allocations: 3.125 kB / 466.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1034, allocations: 0 / 466.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1034, allocations: 0 / 466.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1035, allocations: 4 kB / 466.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1036, allocations: 153.7 kB / 466.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1036, allocations: 15.92 kB / 466.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.1037, allocations: 0 / 466.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.1037, allocations: 7.938 kB / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1037, allocations: 0 / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1037, allocations: 0 / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1037, allocations: 0 / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1038, allocations: 85.95 kB / 466.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.1039, allocations: 77.11 kB / 466.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1039, allocations: 3.938 kB / 466.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.1039, allocations: 0 / 466.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.1039, allocations: 4 kB / 466.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1039, allocations: 0 / 466.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.104, allocations: 87.2 kB / 466.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.104, allocations: 0 / 466.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.1042, allocations: 8 kB / 466.5 MB, free: 10.02 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.0003191/0.1045, allocations: 0.6093 MB / 467.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.1046, allocations: 19.94 kB / 467.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1046, allocations: 352 / 467.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.1046, allocations: 15.98 kB / 467.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.1048, allocations: 6.25 kB / 467.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1058, allocations: 1.204 MB / 468.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1061, allocations: 0.6768 MB / 469.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.1061, allocations: 3.984 kB / 469.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1062, allocations: 11.44 kB / 469.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1062, allocations: 0 / 469.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1224, allocations: 1.161 MB / 470.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.641, allocations: 8 kB / 470.2 MB, free: 6.207 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)