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.001861/0.001861, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.554/1.554, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001558/0.001558, allocations: 215.8 kB / 310 MB, free: 3.121 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.04139/0.04139, allocations: 8.926 MB / 375.4 MB, free: 6.645 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.002419/0.002419, allocations: 87.86 kB / 0.4899 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1066, allocations: 55.62 MB / 0.5442 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001939/0.1085, allocations: 0.4933 MB / 0.5447 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1103, allocations: 1.11 MB / 0.5458 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.1103, allocations: 0 / 0.5458 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1107, allocations: 31.89 kB / 0.5458 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.1107, allocations: 23.91 kB / 0.5458 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.559e-06/0.1107, allocations: 0 / 0.5458 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.1108, allocations: 27.84 kB / 0.5458 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.1109, allocations: 0 / 0.5458 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1111, allocations: 19.98 kB / 0.5459 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1112, allocations: 35.83 kB / 0.5459 GB, free: 3.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1112, allocations: 4 kB / 0.5459 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.1112, allocations: 0 / 0.5459 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1114, allocations: 71.78 kB / 0.546 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1114, allocations: 15.81 kB / 0.546 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.783e-05/0.1115, allocations: 55.94 kB / 0.546 GB, free: 3.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1115, allocations: 4 kB / 0.546 GB, free: 3.168 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1115, allocations: 4 kB / 0.546 GB, free: 3.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1115, allocations: 0 / 0.546 GB, free: 3.164 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.000546/0.1121, allocations: 333.7 kB / 0.5464 GB, free: 2.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1121, allocations: 11.98 kB / 0.5464 GB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.125e-05/0.1122, allocations: 79.47 kB / 0.5465 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.1123, allocations: 110 kB / 0.5466 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.1123, allocations: 84.17 kB / 0.5466 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1126, allocations: 234.5 kB / 0.5469 GB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.1126, allocations: 154.9 kB / 0.547 GB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.1127, allocations: 154.9 kB / 0.5472 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.295e-05/0.1128, allocations: 104.9 kB / 0.5473 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.1128, allocations: 79.28 kB / 0.5473 GB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.1129, allocations: 154.5 kB / 0.5475 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/0.113, allocations: 150.6 kB / 0.5476 GB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.113, allocations: 150.6 kB / 0.5478 GB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1134, allocations: 456.9 kB / 0.5482 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1135, allocations: 173.1 kB / 0.5484 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.1135, allocations: 80.14 kB / 0.5484 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.1135, allocations: 79.22 kB / 0.5485 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.1136, allocations: 113.8 kB / 0.5486 GB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1136, allocations: 0 / 0.5486 GB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.371e-05/0.1137, allocations: 45.53 kB / 0.5487 GB, free: 328 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1138, allocations: 130.7 kB / 0.5488 GB, free: 184 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1141, allocations: 227.8 kB / 0.549 GB, free: 15.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1141, allocations: 25.7 kB / 0.549 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.1142, allocations: 120.1 kB / 0.5492 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.1142, allocations: 4 kB / 0.5492 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.1142, allocations: 9.719 kB / 0.5492 GB, free: 15.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1143, allocations: 322.8 kB / 0.5495 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.1144, allocations: 0 / 0.5495 GB, free: 15.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.1144, allocations: 8 kB / 0.5495 GB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.1144, allocations: 75.28 kB / 0.5496 GB, free: 15.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.993e-05/0.1144, allocations: 75.28 kB / 0.5496 GB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.159e-05/0.1145, allocations: 49.53 kB / 0.5497 GB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.1146, allocations: 79.28 kB / 0.5497 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/0.1146, allocations: 75.28 kB / 0.5498 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.932e-05/0.1147, allocations: 158.5 kB / 0.55 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.911e-05/0.1147, allocations: 79.34 kB / 0.55 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.859e-05/0.1148, allocations: 154.6 kB / 0.5502 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1149, allocations: 83.22 kB / 0.5503 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.115, allocations: 79.28 kB / 0.5503 GB, free: 14.54 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.0001843/0.1151, allocations: 293.6 kB / 0.5506 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1152, allocations: 120.8 kB / 0.5507 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.1153, allocations: 125.4 kB / 0.5509 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.424e-05/0.1154, allocations: 180.3 kB / 0.551 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.252e-05/0.1155, allocations: 180.2 kB / 0.5512 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.172e-05/0.1156, allocations: 176.3 kB / 0.5514 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.1159, allocations: 412.3 kB / 0.5518 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-05/0.116, allocations: 108.9 kB / 0.5519 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.116, allocations: 105 kB / 0.552 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.569e-05/0.1161, allocations: 192.2 kB / 0.5522 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.1162, allocations: 176.3 kB / 0.5523 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.663e-05/0.1163, allocations: 180.3 kB / 0.5525 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-05/0.1164, allocations: 188.2 kB / 0.5527 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1166, allocations: 315.7 kB / 0.553 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.1166, allocations: 124.8 kB / 0.5531 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.311e-05/0.1167, allocations: 188.2 kB / 0.5533 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.1168, allocations: 101 kB / 0.5534 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.1169, allocations: 184.2 kB / 0.5535 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.117, allocations: 104.9 kB / 0.5536 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.1171, allocations: 180.1 kB / 0.5538 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 4 kB / 0.5538 GB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1174, allocations: 4 kB / 0.5538 GB, free: 10.78 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.000433/0.1178, allocations: 0.8087 MB / 0.5546 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.395e-05/0.1179, allocations: 7.922 kB / 0.5546 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1179, allocations: 0 / 0.5546 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1179, allocations: 0 / 0.5546 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.1183, allocations: 463.5 kB / 0.5551 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1201, allocations: 2.047 MB / 0.5571 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.707e-05/0.1202, allocations: 104.6 kB / 0.5572 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.613e-05/0.1202, allocations: 0 / 0.5572 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.1203, allocations: 27.42 kB / 0.5572 GB, free: 7.199 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1203, allocations: 0 / 0.5572 GB, free: 7.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1431, allocations: 2.045 MB / 0.5592 GB, free: 5.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.54, allocations: 6.812 kB / 0.5592 GB, free: 5.273 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: 14.702616548980586] Failed to read output from testmodel.py, exit status != 0: 11.700594441965222 11.913872063 11.799636358 Calling exit ...