Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.002138/0.002138, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.528/1.528, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001572/0.001572, allocations: 210.8 kB / 309.2 MB, free: 3.113 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.04171/0.04171, allocations: 8.929 MB / 374.6 MB, free: 6.617 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.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.004263/0.004263, allocations: 83.88 kB / 0.4891 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1309, allocations: 55.61 MB / 0.5434 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00219/0.1331, allocations: 0.5076 MB / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1351, allocations: 1.107 MB / 0.545 GB, free: 3.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.1352, allocations: 8 kB / 0.545 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1355, allocations: 23.91 kB / 0.545 GB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.1356, allocations: 23.89 kB / 0.5451 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.1356, allocations: 0 / 0.5451 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.1357, allocations: 19.98 kB / 0.5451 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.1358, allocations: 4 kB / 0.5451 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.136, allocations: 31.84 kB / 0.5451 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1362, allocations: 19.92 kB / 0.5451 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1362, allocations: 0 / 0.5451 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.1362, allocations: 4 kB / 0.5451 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.1364, allocations: 75.83 kB / 0.5452 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.1364, allocations: 23.69 kB / 0.5452 GB, free: 3.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.1365, allocations: 55.92 kB / 0.5453 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1365, allocations: 0 / 0.5453 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1365, allocations: 4 kB / 0.5453 GB, free: 3.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1365, allocations: 0 / 0.5453 GB, free: 3.148 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008345/0.1374, allocations: 337.7 kB / 0.5456 GB, free: 2.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.744e-05/0.1374, allocations: 11.98 kB / 0.5456 GB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1376, allocations: 106 kB / 0.5457 GB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1377, allocations: 88.17 kB / 0.5458 GB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.138, allocations: 226.5 kB / 0.546 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.1381, allocations: 158.9 kB / 0.5462 GB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.1382, allocations: 150.9 kB / 0.5463 GB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1383, allocations: 105.1 kB / 0.5464 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/0.1384, allocations: 83.22 kB / 0.5465 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.1384, allocations: 150.6 kB / 0.5466 GB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.84e-05/0.1385, allocations: 158.5 kB / 0.5468 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.1386, allocations: 150.6 kB / 0.5469 GB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.1391, allocations: 453 kB / 0.5474 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1392, allocations: 169.1 kB / 0.5475 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.1393, allocations: 88.06 kB / 0.5476 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.449e-05/0.1394, allocations: 79.28 kB / 0.5477 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.1395, allocations: 113.7 kB / 0.5478 GB, free: 440 kB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.1395, allocations: 0 / 0.5478 GB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001371/0.1396, allocations: 45.61 kB / 0.5478 GB, free: 388 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.1397, allocations: 126.7 kB / 0.548 GB, free: 248 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.1401, allocations: 227.8 kB / 0.5482 GB, free: 12 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.1401, allocations: 25.7 kB / 0.5482 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1402, allocations: 116.2 kB / 0.5483 GB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.1403, allocations: 0 / 0.5483 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1403, allocations: 17.72 kB / 0.5483 GB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1405, allocations: 330.8 kB / 0.5486 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.1405, allocations: 3.938 kB / 0.5487 GB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.1405, allocations: 0 / 0.5487 GB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.1405, allocations: 75.28 kB / 0.5487 GB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/0.1406, allocations: 79.28 kB / 0.5488 GB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.41e-05/0.1407, allocations: 45.59 kB / 0.5488 GB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.1407, allocations: 83.28 kB / 0.5489 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.1407, allocations: 75.28 kB / 0.549 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.36e-05/0.1408, allocations: 158.5 kB / 0.5491 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.1409, allocations: 75.41 kB / 0.5492 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.87e-05/0.1409, allocations: 162.5 kB / 0.5494 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1411, allocations: 79.27 kB / 0.5494 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.1411, allocations: 79.28 kB / 0.5495 GB, free: 14.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001798/0.1413, allocations: 285.6 kB / 0.5498 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.1414, allocations: 124.8 kB / 0.5499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.6e-05/0.1414, allocations: 121.5 kB / 0.55 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.568e-05/0.1415, allocations: 180.2 kB / 0.5502 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.872e-05/0.1416, allocations: 184.2 kB / 0.5504 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/0.1417, allocations: 184.2 kB / 0.5506 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.142, allocations: 404.3 kB / 0.5509 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.394e-05/0.1421, allocations: 101 kB / 0.551 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.1421, allocations: 124.8 kB / 0.5512 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.965e-05/0.1422, allocations: 176.3 kB / 0.5513 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/0.1423, allocations: 180.2 kB / 0.5515 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-05/0.1424, allocations: 184.3 kB / 0.5517 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.613e-05/0.1425, allocations: 176.3 kB / 0.5518 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1427, allocations: 323.7 kB / 0.5521 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1428, allocations: 124.8 kB / 0.5523 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1429, allocations: 180.3 kB / 0.5524 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.143, allocations: 109 kB / 0.5525 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1432, allocations: 180.2 kB / 0.5527 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.1432, allocations: 105 kB / 0.5528 GB, free: 11.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1434, allocations: 168.1 kB / 0.553 GB, free: 10.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1434, allocations: 7.938 kB / 0.553 GB, free: 10.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1437, allocations: 0 / 0.553 GB, free: 10.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0005159/0.1442, allocations: 0.8203 MB / 0.5538 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.586e-05/0.1442, allocations: 4 kB / 0.5538 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1442, allocations: 0 / 0.5538 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.1442, allocations: 0 / 0.5538 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1447, allocations: 467.3 kB / 0.5542 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1468, allocations: 2.051 MB / 0.5562 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.1469, allocations: 104.6 kB / 0.5563 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.701e-05/0.147, allocations: 0 / 0.5563 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.147, allocations: 27.47 kB / 0.5564 GB, free: 7.258 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.147, allocations: 0 / 0.5564 GB, free: 7.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.1801, allocations: 2.368 MB / 0.5587 GB, free: 4.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.21, allocations: 3.25 kB / 0.5587 GB, free: 4.992 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2_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_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.370993941091001] Failed to read output from testmodel.py, exit status != 0: 11.315465175081044 11.493652317 11.354401007 Calling exit ...