Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.001879/0.001879, allocations: 121.4 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] 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.002065/0.002065, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 207.6 MB / 231.8 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 55.92 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1036, allocations: 49.12 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001929/0.1055, allocations: 0.5348 MB / 391.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1083, allocations: 1.85 MB / 393.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.1084, allocations: 0 / 393.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.1106, allocations: 135.2 kB / 393.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.1107, allocations: 27.91 kB / 393.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1109, allocations: 43.94 kB / 393.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.111, allocations: 47.83 kB / 394 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.1111, allocations: 16.2 kB / 394 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.1112, allocations: 27.92 kB / 394 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1113, allocations: 35.78 kB / 394.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1113, allocations: 0 / 394.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.418e-05/0.1113, allocations: 19.98 kB / 394.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1115, allocations: 43.89 kB / 394.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.1115, allocations: 51.66 kB / 394.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1118, allocations: 99.58 kB / 394.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1118, allocations: 0 / 394.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1118, allocations: 0 / 394.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1118, allocations: 0 / 394.3 MB, free: 5.805 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007629/0.1126, allocations: 0.4885 MB / 394.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1126, allocations: 8.031 kB / 394.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1126, allocations: 30.75 kB / 394.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1127, allocations: 16.84 kB / 394.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.1133, allocations: 293 kB / 395.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1133, allocations: 384 / 395.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1133, allocations: 4.312 kB / 395.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1135, allocations: 82.05 kB / 395.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1135, allocations: 0 / 395.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1135, allocations: 4 kB / 395.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1135, allocations: 0 / 395.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.1135, allocations: 0 / 395.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.1139, allocations: 201.7 kB / 395.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.055e-05/0.1139, allocations: 18.58 kB / 395.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.114, allocations: 12.86 kB / 395.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.114, allocations: 3.984 kB / 395.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.114, allocations: 72.19 kB / 395.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.114, allocations: 3.938 kB / 395.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002017/0.1142, allocations: 49.55 kB / 395.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1143, allocations: 154.2 kB / 395.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1146, allocations: 235.9 kB / 395.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1146, allocations: 29.7 kB / 396 MB, free: 3.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.1147, allocations: 112.1 kB / 396.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1147, allocations: 4 kB / 396.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1148, allocations: 21.7 kB / 396.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.115, allocations: 326.8 kB / 396.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.115, allocations: 4 kB / 396.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.115, allocations: 40.28 kB / 396.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.1151, allocations: 16.86 kB / 396.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1151, allocations: 0 / 396.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.669e-05/0.1152, allocations: 61.48 kB / 396.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1152, allocations: 4 kB / 396.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1152, allocations: 3.984 kB / 396.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1152, allocations: 3.984 kB / 396.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.958e-05/0.1152, allocations: 4 kB / 396.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1152, allocations: 4.094 kB / 396.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1153, allocations: 8 kB / 396.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1153, allocations: 0 / 396.6 MB, free: 3.219 MB / 318.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 (2): * Single equations (assignments): 2 * 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.0001093/0.1155, allocations: 129.8 kB / 396.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1155, allocations: 15.84 kB / 396.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.1155, allocations: 20.55 kB / 396.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1155, allocations: 0 / 396.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1155, allocations: 7.938 kB / 396.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1155, allocations: 0 / 396.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1158, allocations: 193.6 kB / 396.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1158, allocations: 0 / 396.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.1158, allocations: 3.938 kB / 396.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1158, allocations: 4 kB / 396.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1158, allocations: 3.984 kB / 396.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1158, allocations: 0 / 396.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1158, allocations: 0 / 396.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.116, allocations: 80.97 kB / 397 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1161, allocations: 113.1 kB / 397.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1162, allocations: 15.98 kB / 397.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1163, allocations: 8 kB / 397.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.1163, allocations: 0 / 397.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1163, allocations: 0 / 397.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.1165, allocations: 181.4 kB / 397.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.1165, allocations: 0 / 397.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1167, allocations: 15.94 kB / 397.3 MB, free: 2.348 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0008031/0.1175, allocations: 0.7015 MB / 398 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.08e-05/0.1176, allocations: 12 kB / 398 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1176, allocations: 0 / 398 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.1176, allocations: 4 kB / 398 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.1178, allocations: 11.98 kB / 398.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.1197, allocations: 1.681 MB / 399.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1201, allocations: 0.7123 MB / 400.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.283e-05/0.1202, allocations: 36.55 kB / 400.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1203, allocations: 63.38 kB / 400.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1203, allocations: 0 / 400.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.1537, allocations: 4.083 MB / 404.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.067, allocations: 15.92 kB / 404.7 MB, free: 10.81 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.629830797668546] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.185722422320396 8.206184771 8.090529554 Calling exit ...