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.00141/0.00141, 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.571/1.571, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.00161/0.00161, allocations: 215.3 kB / 309.2 MB, free: 3.082 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.923 MB / 374.6 MB, free: 6.578 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.002514/0.002514, allocations: 91.86 kB / 0.4891 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1032, allocations: 55.6 MB / 0.5434 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001937/0.1052, allocations: 0.505 MB / 0.5439 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.107, allocations: 1.11 MB / 0.545 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.107, allocations: 0 / 0.545 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1073, allocations: 27.84 kB / 0.545 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.1074, allocations: 27.91 kB / 0.5451 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.1074, allocations: 0 / 0.5451 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.1075, allocations: 19.98 kB / 0.5451 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1075, allocations: 7.984 kB / 0.5451 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1078, allocations: 27.86 kB / 0.5451 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1079, allocations: 27.89 kB / 0.5451 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1079, allocations: 0 / 0.5451 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.1079, allocations: 0 / 0.5451 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.1081, allocations: 75.84 kB / 0.5452 GB, free: 3.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.1081, allocations: 19.75 kB / 0.5452 GB, free: 3.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.633e-05/0.1082, allocations: 55.88 kB / 0.5453 GB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1082, allocations: 0 / 0.5453 GB, free: 3.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1082, allocations: 0 / 0.5453 GB, free: 3.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1082, allocations: 0 / 0.5453 GB, free: 3.145 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.0005821/0.1088, allocations: 337.7 kB / 0.5456 GB, free: 2.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1089, allocations: 11.98 kB / 0.5456 GB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.632e-05/0.109, allocations: 106 kB / 0.5457 GB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.109, allocations: 88.17 kB / 0.5458 GB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1093, allocations: 230.5 kB / 0.546 GB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.1094, allocations: 150.9 kB / 0.5462 GB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.1094, allocations: 154.9 kB / 0.5463 GB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.53e-05/0.1095, allocations: 105.1 kB / 0.5464 GB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.1095, allocations: 79.27 kB / 0.5465 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.1096, allocations: 158.5 kB / 0.5466 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/0.1097, allocations: 150.6 kB / 0.5468 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1098, allocations: 158.6 kB / 0.5469 GB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1102, allocations: 449 kB / 0.5474 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1103, allocations: 169.1 kB / 0.5475 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.1103, allocations: 88.08 kB / 0.5476 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.1104, allocations: 79.22 kB / 0.5477 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/0.1104, allocations: 109.8 kB / 0.5478 GB, free: 440 kB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1104, allocations: 0 / 0.5478 GB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.1106, allocations: 49.59 kB / 0.5478 GB, free: 384 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.1106, allocations: 126.7 kB / 0.548 GB, free: 244 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.1109, allocations: 227.8 kB / 0.5482 GB, free: 8 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1109, allocations: 29.7 kB / 0.5482 GB, free: 15.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.111, allocations: 116.2 kB / 0.5483 GB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.111, allocations: 0 / 0.5483 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.1111, allocations: 13.72 kB / 0.5483 GB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1112, allocations: 330.8 kB / 0.5486 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-06/0.1112, allocations: 0 / 0.5486 GB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-06/0.1112, allocations: 7.875 kB / 0.5486 GB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.1113, allocations: 75.28 kB / 0.5487 GB, free: 15.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/0.1113, allocations: 75.28 kB / 0.5488 GB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.578e-05/0.1114, allocations: 41.59 kB / 0.5488 GB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.1114, allocations: 79.28 kB / 0.5489 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.1114, allocations: 83.28 kB / 0.549 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.752e-05/0.1115, allocations: 158.5 kB / 0.5491 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/0.1116, allocations: 75.41 kB / 0.5492 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.047e-05/0.1116, allocations: 166.5 kB / 0.5494 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.1117, allocations: 75.28 kB / 0.5494 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.1118, allocations: 75.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.000175/0.112, allocations: 293.6 kB / 0.5498 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.112, allocations: 116.8 kB / 0.5499 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/0.1121, allocations: 125.5 kB / 0.55 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.801e-05/0.1122, allocations: 180.2 kB / 0.5502 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-05/0.1123, allocations: 180.3 kB / 0.5504 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.902e-05/0.1124, allocations: 184.2 kB / 0.5505 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1127, allocations: 408.3 kB / 0.5509 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/0.1127, allocations: 105 kB / 0.551 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.1128, allocations: 120.9 kB / 0.5511 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.373e-05/0.1129, allocations: 176.3 kB / 0.5513 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.113, allocations: 180.2 kB / 0.5515 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/0.1131, allocations: 180.3 kB / 0.5517 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.19e-05/0.1132, allocations: 184.2 kB / 0.5518 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1134, allocations: 315.7 kB / 0.5521 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.1135, allocations: 132.8 kB / 0.5523 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.1136, allocations: 180.2 kB / 0.5524 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1137, allocations: 105 kB / 0.5525 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1138, allocations: 184.2 kB / 0.5527 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.1138, allocations: 101 kB / 0.5528 GB, free: 11.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.114, allocations: 176.1 kB / 0.553 GB, free: 10.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.114, allocations: 0 / 0.553 GB, free: 10.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1143, allocations: 4 kB / 0.553 GB, free: 10.85 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.000535/0.1148, allocations: 0.8164 MB / 0.5538 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.199e-05/0.1149, allocations: 0 / 0.5538 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1149, allocations: 8 kB / 0.5538 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1149, allocations: 0 / 0.5538 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.1153, allocations: 459.5 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.001833/0.1172, allocations: 2.055 MB / 0.5562 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.1173, allocations: 104.5 kB / 0.5563 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.1173, allocations: 0 / 0.5563 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.1173, allocations: 27.42 kB / 0.5564 GB, free: 7.254 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1173, allocations: 0 / 0.5564 GB, free: 7.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.1507, allocations: 2.377 MB / 0.5587 GB, free: 4.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.26, allocations: 9.172 kB / 0.5587 GB, free: 4.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.359609322156757] Failed to read output from testmodel.py, exit status != 0: 11.364173341076821 11.564654623 11.453686701 Calling exit ...