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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 108.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 189 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04086/0.04086, allocations: 8.922 MB / 363.6 MB, free: 10.19 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 83.94 kB / 486 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1059, allocations: 54.41 MB / 0.5278 GB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001699/0.1076, allocations: 0.4993 MB / 0.5283 GB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.109, allocations: 1.1 MB / 0.5293 GB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.109, allocations: 0 / 0.5293 GB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1092, allocations: 19.97 kB / 0.5294 GB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.1093, allocations: 27.91 kB / 0.5294 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.987e-06/0.1093, allocations: 0 / 0.5294 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.1094, allocations: 23.86 kB / 0.5294 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.1094, allocations: 0 / 0.5294 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.1095, allocations: 27.91 kB / 0.5294 GB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1096, allocations: 23.91 kB / 0.5295 GB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1096, allocations: 7.938 kB / 0.5295 GB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.1096, allocations: 0 / 0.5295 GB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1098, allocations: 67.84 kB / 0.5295 GB, free: 15.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1098, allocations: 31.69 kB / 0.5296 GB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.168e-05/0.1099, allocations: 51.92 kB / 0.5296 GB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1099, allocations: 0 / 0.5296 GB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1099, allocations: 4 kB / 0.5296 GB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1099, allocations: 0 / 0.5296 GB, free: 15.36 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005296/0.1104, allocations: 410.8 kB / 0.53 GB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1105, allocations: 8.031 kB / 0.53 GB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.1105, allocations: 106 kB / 0.5301 GB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.1106, allocations: 96.12 kB / 0.5302 GB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1109, allocations: 288.3 kB / 0.5305 GB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.1109, allocations: 150.9 kB / 0.5306 GB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.111, allocations: 150.9 kB / 0.5308 GB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.1111, allocations: 105.1 kB / 0.5309 GB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.1111, allocations: 75.28 kB / 0.5309 GB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.1112, allocations: 154.6 kB / 0.5311 GB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/0.1112, allocations: 154.6 kB / 0.5312 GB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.1113, allocations: 154.5 kB / 0.5314 GB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.1117, allocations: 481.9 kB / 0.5319 GB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.1118, allocations: 173.1 kB / 0.532 GB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.1118, allocations: 84.19 kB / 0.5321 GB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.1118, allocations: 75.28 kB / 0.5322 GB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.1119, allocations: 109.8 kB / 0.5323 GB, free: 12.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1119, allocations: 4 kB / 0.5323 GB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.488e-05/0.112, allocations: 41.58 kB / 0.5323 GB, free: 12.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.112, allocations: 130.7 kB / 0.5324 GB, free: 12.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1123, allocations: 231.8 kB / 0.5327 GB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1123, allocations: 29.7 kB / 0.5327 GB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.1124, allocations: 116.1 kB / 0.5328 GB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.1124, allocations: 0 / 0.5328 GB, free: 11.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.1124, allocations: 9.719 kB / 0.5328 GB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1126, allocations: 326.8 kB / 0.5331 GB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.1126, allocations: 4 kB / 0.5331 GB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-06/0.1126, allocations: 0 / 0.5331 GB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.1126, allocations: 75.28 kB / 0.5332 GB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/0.1126, allocations: 75.28 kB / 0.5333 GB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.985e-05/0.1127, allocations: 53.47 kB / 0.5333 GB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.1127, allocations: 79.28 kB / 0.5334 GB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.1128, allocations: 79.28 kB / 0.5335 GB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.257e-05/0.1128, allocations: 158.5 kB / 0.5336 GB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1129, allocations: 87.16 kB / 0.5337 GB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.324e-05/0.1129, allocations: 151.5 kB / 0.5339 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.113, allocations: 87.22 kB / 0.5339 GB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.1131, allocations: 75.28 kB / 0.534 GB, free: 10.61 MB / 350.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.0001607/0.1132, allocations: 292.3 kB / 0.5343 GB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.1133, allocations: 124.8 kB / 0.5344 GB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.1134, allocations: 125.5 kB / 0.5345 GB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.366e-05/0.1135, allocations: 180.3 kB / 0.5347 GB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-05/0.1135, allocations: 180.2 kB / 0.5349 GB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-05/0.1136, allocations: 176.5 kB / 0.535 GB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.1139, allocations: 453.1 kB / 0.5355 GB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/0.114, allocations: 101 kB / 0.5356 GB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.114, allocations: 108.9 kB / 0.5357 GB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-05/0.1141, allocations: 180.2 kB / 0.5358 GB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/0.1142, allocations: 180.3 kB / 0.536 GB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.723e-05/0.1142, allocations: 192.2 kB / 0.5362 GB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-05/0.1143, allocations: 180.3 kB / 0.5364 GB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1145, allocations: 307.7 kB / 0.5367 GB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1146, allocations: 201.9 kB / 0.5369 GB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.1147, allocations: 184.2 kB / 0.537 GB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.1148, allocations: 101 kB / 0.5371 GB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.1149, allocations: 180.3 kB / 0.5373 GB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.1149, allocations: 112.9 kB / 0.5374 GB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1151, allocations: 169.5 kB / 0.5376 GB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1151, allocations: 0 / 0.5376 GB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1154, allocations: 4 kB / 0.5376 GB, free: 6.73 MB / 350.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.0004747/0.1158, allocations: 0.8164 MB / 0.5384 GB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.532e-05/0.1159, allocations: 7.938 kB / 0.5384 GB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1159, allocations: 4 kB / 0.5384 GB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.1159, allocations: 4 kB / 0.5384 GB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1163, allocations: 459.7 kB / 0.5388 GB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1181, allocations: 2.057 MB / 0.5408 GB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1185, allocations: 0.708 MB / 0.5415 GB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.1185, allocations: 0 / 0.5415 GB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.1186, allocations: 35.36 kB / 0.5416 GB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1186, allocations: 0 / 0.5416 GB, free: 2.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.1445, allocations: 1.877 MB / 0.5434 GB, free: 0.7148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.135, allocations: 7 kB / 0.5434 GB, free: 0.7148 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.892509464174509] Failed to read output from testmodel.py, exit status != 0: 8.400797822978348 8.230177218 8.115868385 Calling exit ...