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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 230.6 MB / 253.4 MB, free: 14.47 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 226.3 kB / 310 MB, free: 3.059 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04252/0.04252, allocations: 8.91 MB / 375.4 MB, free: 6.777 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 79.88 kB / 0.4899 GB, free: 44.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1245, allocations: 55.62 MB / 0.5443 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003833/0.1283, allocations: 1.226 MB / 0.5455 GB, free: 3.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.1287, allocations: 57.95 kB / 0.5455 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.1288, allocations: 0 / 0.5455 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.1289, allocations: 4 kB / 0.5455 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1292, allocations: 7.938 kB / 0.5455 GB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.605e-05/0.1292, allocations: 7.984 kB / 0.5455 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1294, allocations: 15.92 kB / 0.5455 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.1295, allocations: 0 / 0.5455 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.1295, allocations: 19.92 kB / 0.5456 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.1296, allocations: 0 / 0.5456 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1296, allocations: 4 kB / 0.5456 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.1296, allocations: 0 / 0.5456 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.1296, allocations: 0 / 0.5456 GB, free: 3.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.1297, allocations: 11.94 kB / 0.5456 GB, free: 3.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1298, allocations: 16.19 kB / 0.5456 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1298, allocations: 0 / 0.5456 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1298, allocations: 0 / 0.5456 GB, free: 3.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1298, allocations: 0 / 0.5456 GB, free: 3.852 MB / 366.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.0006506/0.1305, allocations: 262.3 kB / 0.5458 GB, free: 3.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/0.1306, allocations: 11.98 kB / 0.5459 GB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.853e-05/0.1306, allocations: 192 / 0.5459 GB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.1306, allocations: 38.69 kB / 0.5459 GB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1307, allocations: 4.938 kB / 0.5459 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1309, allocations: 110.5 kB / 0.546 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1309, allocations: 8.359 kB / 0.546 GB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1309, allocations: 384 / 0.546 GB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1311, allocations: 47.73 kB / 0.5461 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1311, allocations: 0 / 0.5461 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1311, allocations: 0 / 0.5461 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1311, allocations: 0 / 0.5461 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.1312, allocations: 7.938 kB / 0.5461 GB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.1316, allocations: 137.7 kB / 0.5462 GB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.816e-05/0.1317, allocations: 41.2 kB / 0.5462 GB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.1317, allocations: 13.66 kB / 0.5462 GB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.1317, allocations: 0 / 0.5462 GB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1318, allocations: 42.56 kB / 0.5463 GB, free: 2.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1318, allocations: 0 / 0.5463 GB, free: 2.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000194/0.132, allocations: 45.58 kB / 0.5463 GB, free: 2.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.132, allocations: 81.36 kB / 0.5464 GB, free: 2.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1322, allocations: 101.9 kB / 0.5465 GB, free: 2.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1322, allocations: 25.7 kB / 0.5465 GB, free: 2.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.1322, allocations: 88.12 kB / 0.5466 GB, free: 2.605 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1323, allocations: 7.953 kB / 0.5466 GB, free: 2.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1323, allocations: 13.72 kB / 0.5466 GB, free: 2.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1325, allocations: 318.8 kB / 0.5469 GB, free: 2.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.1325, allocations: 3.984 kB / 0.5469 GB, free: 2.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.1325, allocations: 35.44 kB / 0.547 GB, free: 2.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.1326, allocations: 39.38 kB / 0.547 GB, free: 2.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1326, allocations: 0 / 0.547 GB, free: 2.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.1327, allocations: 61.56 kB / 0.5471 GB, free: 2.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1327, allocations: 11.94 kB / 0.5471 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1327, allocations: 0 / 0.5471 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1328, allocations: 0 / 0.5471 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.1328, allocations: 8 kB / 0.5471 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1328, allocations: 0 / 0.5471 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.1329, allocations: 4 kB / 0.5471 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1329, allocations: 0 / 0.5471 GB, free: 2.066 MB / 366.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.423e-05/0.133, allocations: 122 kB / 0.5472 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.133, allocations: 7.891 kB / 0.5472 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.133, allocations: 7.391 kB / 0.5472 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.133, allocations: 4 kB / 0.5472 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.133, allocations: 3.984 kB / 0.5472 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.133, allocations: 0 / 0.5472 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1332, allocations: 132.7 kB / 0.5474 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1332, allocations: 0 / 0.5474 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1333, allocations: 15.86 kB / 0.5474 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1333, allocations: 3.938 kB / 0.5474 GB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1333, allocations: 0 / 0.5474 GB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1333, allocations: 8 kB / 0.5474 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1333, allocations: 4 kB / 0.5474 GB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1334, allocations: 73.98 kB / 0.5475 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.1335, allocations: 3.938 kB / 0.5475 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1335, allocations: 4.031 kB / 0.5475 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.1335, allocations: 0 / 0.5475 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.1335, allocations: 4.094 kB / 0.5475 GB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1335, allocations: 7.938 kB / 0.5475 GB, free: 1.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.1336, allocations: 87.27 kB / 0.5476 GB, free: 1.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1336, allocations: 0 / 0.5476 GB, free: 1.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1338, allocations: 0 / 0.5476 GB, free: 1.516 MB / 366.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.0004801/0.1343, allocations: 0.6133 MB / 0.5482 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.1344, allocations: 19.88 kB / 0.5482 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1344, allocations: 4 kB / 0.5482 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.1344, allocations: 7.984 kB / 0.5482 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1346, allocations: 4 kB / 0.5482 GB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1358, allocations: 1.189 MB / 0.5494 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1362, allocations: 0.6846 MB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.1362, allocations: 0 / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1363, allocations: 15.42 kB / 0.55 GB, free: 14.81 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1363, allocations: 0 / 0.55 GB, free: 14.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1623, allocations: 1.342 MB / 0.5514 GB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.34, allocations: 10.84 kB / 0.5514 GB, free: 13.58 MB / 382.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.906762055004947] Failed to read output from testmodel.py, exit status != 0: 12.502925253007561 12.797377088 12.396837993 Calling exit ...