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.001301/0.001301, 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.514/1.514, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001605/0.001605, allocations: 215 kB / 310 MB, free: 3.117 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.0416/0.0416, allocations: 8.922 MB / 375.4 MB, free: 6.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.002716/0.002716, allocations: 83.88 kB / 0.49 GB, free: 44.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1035, allocations: 55.61 MB / 0.5443 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001867/0.1054, allocations: 0.5112 MB / 0.5448 GB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1072, allocations: 1.149 MB / 0.5459 GB, free: 3.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.1072, allocations: 0 / 0.5459 GB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1075, allocations: 31.89 kB / 0.5459 GB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.1076, allocations: 23.91 kB / 0.5459 GB, free: 3.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.671e-06/0.1076, allocations: 0 / 0.5459 GB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.1076, allocations: 15.98 kB / 0.546 GB, free: 3.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1077, allocations: 4 kB / 0.546 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1079, allocations: 31.84 kB / 0.546 GB, free: 3.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.108, allocations: 31.89 kB / 0.546 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.108, allocations: 0 / 0.546 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.108, allocations: 4 kB / 0.546 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1082, allocations: 71.8 kB / 0.5461 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.1082, allocations: 27.69 kB / 0.5461 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.447e-05/0.1083, allocations: 55.92 kB / 0.5462 GB, free: 3.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1083, allocations: 0 / 0.5462 GB, free: 3.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1083, allocations: 0 / 0.5462 GB, free: 3.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1083, allocations: 0 / 0.5462 GB, free: 3.246 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.0005094/0.1088, allocations: 333.7 kB / 0.5465 GB, free: 2.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1089, allocations: 11.98 kB / 0.5465 GB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.315e-05/0.1089, allocations: 83.47 kB / 0.5466 GB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.109, allocations: 106 kB / 0.5467 GB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.1091, allocations: 84.17 kB / 0.5468 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1093, allocations: 230.5 kB / 0.547 GB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.1093, allocations: 154.9 kB / 0.5471 GB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1094, allocations: 150.9 kB / 0.5473 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.674e-05/0.1095, allocations: 112.9 kB / 0.5474 GB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.1095, allocations: 79.22 kB / 0.5475 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.1096, allocations: 150.6 kB / 0.5476 GB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.1096, allocations: 150.6 kB / 0.5477 GB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.931e-05/0.1097, allocations: 150.6 kB / 0.5479 GB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1101, allocations: 464.9 kB / 0.5483 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.1102, allocations: 169.1 kB / 0.5485 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1102, allocations: 84.14 kB / 0.5486 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1102, allocations: 79.22 kB / 0.5487 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.1103, allocations: 109.8 kB / 0.5488 GB, free: 464 kB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.1103, allocations: 0 / 0.5488 GB, free: 464 kB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.1104, allocations: 41.61 kB / 0.5488 GB, free: 416 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.1105, allocations: 130.7 kB / 0.5489 GB, free: 272 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1107, allocations: 235.8 kB / 0.5491 GB, free: 28 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1107, allocations: 25.7 kB / 0.5492 GB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1108, allocations: 120.1 kB / 0.5493 GB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.1108, allocations: 0 / 0.5493 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.1109, allocations: 13.72 kB / 0.5493 GB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.111, allocations: 326.8 kB / 0.5496 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-06/0.111, allocations: 0 / 0.5496 GB, free: 15.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-06/0.111, allocations: 0 / 0.5496 GB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.111, allocations: 75.28 kB / 0.5497 GB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/0.1111, allocations: 75.28 kB / 0.5498 GB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.121e-05/0.1111, allocations: 41.59 kB / 0.5498 GB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.1112, allocations: 79.28 kB / 0.5499 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/0.1112, allocations: 83.22 kB / 0.5499 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.753e-05/0.1113, allocations: 158.6 kB / 0.5501 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.1113, allocations: 79.39 kB / 0.5502 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.454e-05/0.1114, allocations: 158.5 kB / 0.5503 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.1115, allocations: 75.28 kB / 0.5504 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1115, allocations: 87.22 kB / 0.5505 GB, free: 14.62 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.0001608/0.1117, allocations: 289.7 kB / 0.5508 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.1118, allocations: 120.8 kB / 0.5509 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.1118, allocations: 125.4 kB / 0.551 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.708e-05/0.1119, allocations: 176.3 kB / 0.5512 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.906e-05/0.112, allocations: 180.3 kB / 0.5513 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-05/0.1121, allocations: 184.2 kB / 0.5515 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1123, allocations: 416.2 kB / 0.5519 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/0.1124, allocations: 108.9 kB / 0.552 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.1124, allocations: 105 kB / 0.5521 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/0.1125, allocations: 176.3 kB / 0.5523 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/0.1126, allocations: 184.2 kB / 0.5525 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.206e-05/0.1127, allocations: 180.3 kB / 0.5526 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.643e-05/0.1127, allocations: 188.2 kB / 0.5528 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1129, allocations: 311.7 kB / 0.5531 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.113, allocations: 128.8 kB / 0.5532 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.1131, allocations: 188.2 kB / 0.5534 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1132, allocations: 108.9 kB / 0.5535 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.1132, allocations: 176.3 kB / 0.5537 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.1133, allocations: 105 kB / 0.5538 GB, free: 11.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1135, allocations: 176.1 kB / 0.5539 GB, free: 10.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1135, allocations: 3.938 kB / 0.5539 GB, free: 10.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1137, allocations: 4 kB / 0.554 GB, free: 10.87 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.0004401/0.1142, allocations: 0.8126 MB / 0.5547 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.871e-05/0.1142, allocations: 0 / 0.5547 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1142, allocations: 0 / 0.5547 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/0.1142, allocations: 7.938 kB / 0.5548 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1146, allocations: 464.6 kB / 0.5552 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1165, allocations: 2.051 MB / 0.5572 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1168, allocations: 0.708 MB / 0.5579 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.448e-05/0.1168, allocations: 4 kB / 0.5579 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1169, allocations: 27.42 kB / 0.5579 GB, free: 6.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1169, allocations: 0 / 0.5579 GB, free: 6.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1396, allocations: 2.017 MB / 0.5599 GB, free: 4.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.04, allocations: 7.812 kB / 0.5599 GB, free: 4.758 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.270140327047557] Failed to read output from testmodel.py, exit status != 0: 12.194944327929989 12.462065657 12.350707958 Calling exit ...