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.001498/0.001498, 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.461/1.461, allocations: 222.9 MB / 239.3 MB, free: 4.641 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.001722/0.001722, allocations: 200.4 kB / 289.6 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03495/0.03495, allocations: 8.801 MB / 348.5 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 79.31 kB / 411.2 MB, free: 42.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1069, allocations: 51.56 MB / 462.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002182/0.1092, allocations: 1.196 MB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000228/0.1094, allocations: 59.77 kB / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.1094, allocations: 4 kB / 464 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.816e-05/0.1095, allocations: 7.938 kB / 464 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1097, allocations: 3.938 kB / 464 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.733e-05/0.1097, allocations: 3.984 kB / 464 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.1097, allocations: 19.94 kB / 464 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.1098, allocations: 0 / 464 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.1098, allocations: 11.92 kB / 464.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.1099, allocations: 11.98 kB / 464.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1099, allocations: 0 / 464.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.1099, allocations: 3.938 kB / 464.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.1099, allocations: 3.938 kB / 464.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.11, allocations: 4 kB / 464.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.003e-05/0.11, allocations: 19.92 kB / 464.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.11, allocations: 0 / 464.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.11, allocations: 0 / 464.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1101, allocations: 4 kB / 464.1 MB, free: 12.95 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.0003589/0.1104, allocations: 325.9 kB / 464.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1105, allocations: 8.031 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.1105, allocations: 30.75 kB / 464.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.1105, allocations: 4.938 kB / 464.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1107, allocations: 168.6 kB / 464.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1107, allocations: 4.312 kB / 464.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1107, allocations: 8.281 kB / 464.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/0.1108, allocations: 51.97 kB / 464.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1108, allocations: 3.938 kB / 464.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1108, allocations: 0 / 464.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1108, allocations: 0 / 464.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.1108, allocations: 8 kB / 464.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.1111, allocations: 162.5 kB / 464.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.1112, allocations: 45.17 kB / 464.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.1112, allocations: 13.84 kB / 464.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.1112, allocations: 0 / 464.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1112, allocations: 34.5 kB / 464.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1113, allocations: 0 / 464.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.1114, allocations: 53.75 kB / 465 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1114, allocations: 85.11 kB / 465.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.1115, allocations: 101.9 kB / 465.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1115, allocations: 25.7 kB / 465.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1116, allocations: 84.12 kB / 465.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1116, allocations: 3.906 kB / 465.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1116, allocations: 17.72 kB / 465.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1117, allocations: 310.8 kB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.1118, allocations: 12 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.1118, allocations: 35.59 kB / 465.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.1119, allocations: 39.38 kB / 465.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1119, allocations: 4 kB / 465.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.24e-05/0.112, allocations: 57.62 kB / 465.8 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.112, allocations: 7.938 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.112, allocations: 4 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.112, allocations: 0 / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/0.112, allocations: 11.94 kB / 465.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1121, allocations: 3.938 kB / 465.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.1121, allocations: 3.906 kB / 465.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1121, 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 8.563e-05/0.1122, allocations: 122.5 kB / 465.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1122, allocations: 7.938 kB / 465.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.1122, allocations: 7.125 kB / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1122, allocations: 0 / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1123, allocations: 0 / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1123, allocations: 4 kB / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1124, allocations: 153.7 kB / 466.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1124, allocations: 4 kB / 466.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.1125, allocations: 3.984 kB / 466.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1125, allocations: 11.94 kB / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.1125, allocations: 0 / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1125, allocations: 0 / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1125, allocations: 3.938 kB / 466.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1126, allocations: 74.02 kB / 466.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1127, allocations: 77.11 kB / 466.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1127, allocations: 3.938 kB / 466.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.1127, allocations: 8.094 kB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.1127, allocations: 7.938 kB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1127, allocations: 4 kB / 466.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.1128, allocations: 83.27 kB / 466.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1128, allocations: 0 / 466.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.113, allocations: 4 kB / 466.4 MB, free: 10.3 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.0003168/0.1133, allocations: 0.6171 MB / 467 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.1134, allocations: 15.94 kB / 467 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1134, allocations: 0 / 467 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.1134, allocations: 7.984 kB / 467 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.1136, allocations: 10.81 kB / 467 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.1146, allocations: 1.202 MB / 468.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1148, allocations: 0.6768 MB / 468.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.783e-05/0.1148, allocations: 0 / 468.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1149, allocations: 15.44 kB / 468.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1149, allocations: 0 / 468.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.1341, allocations: 1.143 MB / 470.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.654, allocations: 0 / 470.1 MB, free: 6.488 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Classes.TestVector2D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)