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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.441/1.441, allocations: 230.6 MB / 252.7 MB, free: 8.305 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.001597/0.001597, allocations: 210.3 kB / 309.2 MB, free: 3.141 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.06004/0.06004, allocations: 8.913 MB / 374.6 MB, free: 1.891 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",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.003709/0.003709, allocations: 86.03 kB / 0.4892 GB, free: 4.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.153, allocations: 55.63 MB / 0.5435 GB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003328/0.1564, allocations: 1.216 MB / 0.5447 GB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003001/0.1567, allocations: 59.02 kB / 0.5447 GB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.1567, allocations: 0 / 0.5447 GB, free: 3.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.1568, allocations: 7.938 kB / 0.5448 GB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.157, allocations: 11.94 kB / 0.5448 GB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.236e-05/0.157, allocations: 7.969 kB / 0.5448 GB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.1571, allocations: 15.88 kB / 0.5448 GB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.1571, allocations: 4 kB / 0.5448 GB, free: 3.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.1572, allocations: 4 kB / 0.5448 GB, free: 3.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.1572, allocations: 7.984 kB / 0.5448 GB, free: 3.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1572, allocations: 7.938 kB / 0.5448 GB, free: 3.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.1573, allocations: 0 / 0.5448 GB, free: 3.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1573, allocations: 0 / 0.5448 GB, free: 3.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.1573, allocations: 3.984 kB / 0.5448 GB, free: 3.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.145e-05/0.1574, allocations: 20.14 kB / 0.5448 GB, free: 3.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1574, allocations: 8 kB / 0.5448 GB, free: 3.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1574, allocations: 0 / 0.5448 GB, free: 3.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1574, allocations: 0 / 0.5448 GB, free: 3.676 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.0004657/0.1579, allocations: 254.4 kB / 0.5451 GB, free: 3.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1579, allocations: 8.031 kB / 0.5451 GB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.158, allocations: 30.75 kB / 0.5451 GB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.158, allocations: 0.9375 kB / 0.5451 GB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.1581, allocations: 110.5 kB / 0.5452 GB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1582, allocations: 384 / 0.5452 GB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1582, allocations: 8.375 kB / 0.5452 GB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1583, allocations: 51.95 kB / 0.5453 GB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1583, allocations: 3.938 kB / 0.5453 GB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1583, allocations: 0 / 0.5453 GB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1583, allocations: 0 / 0.5453 GB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.1584, allocations: 7.938 kB / 0.5453 GB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.1587, allocations: 137.7 kB / 0.5454 GB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.1588, allocations: 37.14 kB / 0.5455 GB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1589, allocations: 13.84 kB / 0.5455 GB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1589, allocations: 3.938 kB / 0.5455 GB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.1589, allocations: 34.5 kB / 0.5455 GB, free: 2.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1589, allocations: 0 / 0.5455 GB, free: 2.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.1591, allocations: 61.52 kB / 0.5456 GB, free: 2.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.1592, allocations: 77.11 kB / 0.5456 GB, free: 2.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1593, allocations: 101.9 kB / 0.5457 GB, free: 2.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1593, allocations: 25.7 kB / 0.5458 GB, free: 2.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1594, allocations: 84.12 kB / 0.5458 GB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1594, allocations: 11.89 kB / 0.5459 GB, free: 2.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.1595, allocations: 13.72 kB / 0.5459 GB, free: 2.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1597, allocations: 319.1 kB / 0.5462 GB, free: 2.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.1597, allocations: 4 kB / 0.5462 GB, free: 2.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.1597, allocations: 31.42 kB / 0.5462 GB, free: 2.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.1598, allocations: 43.38 kB / 0.5463 GB, free: 1.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1598, allocations: 0 / 0.5463 GB, free: 1.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000152/0.16, allocations: 61.56 kB / 0.5463 GB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.16, allocations: 7.938 kB / 0.5463 GB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.16, allocations: 4 kB / 0.5463 GB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.16, allocations: 0 / 0.5463 GB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.1601, allocations: 12 kB / 0.5463 GB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1601, allocations: 0 / 0.5463 GB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1601, allocations: 4.125 kB / 0.5463 GB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1601, allocations: 4 kB / 0.5463 GB, free: 1.895 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 0.0001092/0.1603, allocations: 113.8 kB / 0.5465 GB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1603, allocations: 11.89 kB / 0.5465 GB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.1603, allocations: 3.156 kB / 0.5465 GB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1603, allocations: 0 / 0.5465 GB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1603, allocations: 0 / 0.5465 GB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1603, allocations: 4 kB / 0.5465 GB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1606, allocations: 132.7 kB / 0.5466 GB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1606, allocations: 0 / 0.5466 GB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.1606, allocations: 15.92 kB / 0.5466 GB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1606, allocations: 3.938 kB / 0.5466 GB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1606, allocations: 0 / 0.5466 GB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1606, allocations: 0 / 0.5466 GB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1606, allocations: 0 / 0.5466 GB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1608, allocations: 77.98 kB / 0.5467 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.1608, allocations: 8.031 kB / 0.5467 GB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1608, allocations: 3.938 kB / 0.5467 GB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.1609, allocations: 4.031 kB / 0.5467 GB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.1609, allocations: 288 / 0.5467 GB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1609, allocations: 0 / 0.5467 GB, free: 1.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.161, allocations: 91.25 kB / 0.5468 GB, free: 1.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.161, allocations: 0 / 0.5468 GB, free: 1.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.1613, allocations: 7.938 kB / 0.5468 GB, free: 1.355 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.0005436/0.1619, allocations: 0.6094 MB / 0.5474 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.162, allocations: 19.94 kB / 0.5474 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.162, allocations: 0 / 0.5474 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.162, allocations: 8.344 kB / 0.5474 GB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1622, allocations: 8.047 kB / 0.5474 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1635, allocations: 1.192 MB / 0.5486 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1638, allocations: 0.6768 MB / 0.5493 GB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.1638, allocations: 0 / 0.5493 GB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1638, allocations: 11.42 kB / 0.5493 GB, free: 14.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1638, allocations: 4 kB / 0.5493 GB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.192, allocations: 1.315 MB / 0.5506 GB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.17, allocations: 10.41 kB / 0.5506 GB, free: 13.46 MB / 366.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.097177711002587] Failed to read output from testmodel.py, exit status != 0: 11.273281678993953 11.29828167 11.136043945 Calling exit ...