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.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.001626/0.001626, allocations: 108.2 kB / 21.18 MB, free: 0.5586 MB / 14.72 MB " [Timeout remaining time 180] 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.00196/0.00196, allocations: 212.6 kB / 24.49 MB, free: 3.91 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.552/1.552, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2873, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001634/0.2889, allocations: 0.5336 MB / 396.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2911, allocations: 1.937 MB / 398.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.2911, allocations: 0 / 398.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005997/0.2971, allocations: 131.9 kB / 398.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.2972, allocations: 30.2 kB / 399 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2975, allocations: 51.72 kB / 399 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2976, allocations: 43.39 kB / 399 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.2977, allocations: 5.906 kB / 399.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.2978, allocations: 32.39 kB / 399.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2979, allocations: 28.55 kB / 399.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.2979, allocations: 1.25 kB / 399.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.298, allocations: 24.69 kB / 399.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2981, allocations: 55.83 kB / 399.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.2982, allocations: 45.25 kB / 399.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.2985, allocations: 102.3 kB / 399.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2985, allocations: 1.812 kB / 399.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2985, allocations: 0 / 399.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2985, allocations: 0 / 399.3 MB, free: 7.023 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.0006465/0.2992, allocations: 422.8 kB / 399.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2992, allocations: 16.8 kB / 399.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.2992, allocations: 32.92 kB / 399.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.2993, allocations: 15.66 kB / 399.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.3, allocations: 238.1 kB / 400 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3, allocations: 384 / 400.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3, allocations: 1.438 kB / 400.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3001, allocations: 78.02 kB / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3001, allocations: 1.281 kB / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3001, allocations: 0 / 400.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3001, allocations: 5.375 kB / 400.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.3002, allocations: 2.484 kB / 400.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3005, allocations: 171.4 kB / 400.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.3005, allocations: 18.52 kB / 400.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.3006, allocations: 7.234 kB / 400.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3006, allocations: 0 / 400.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3006, allocations: 70.61 kB / 400.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3006, allocations: 3.938 kB / 400.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.3008, allocations: 50.92 kB / 400.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3008, allocations: 156.5 kB / 400.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.3012, allocations: 230.1 kB / 400.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3012, allocations: 26.8 kB / 400.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.3012, allocations: 112.3 kB / 401 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3012, allocations: 2.172 kB / 401 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.3013, allocations: 25.42 kB / 401 MB, free: 5.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.3014, allocations: 324.8 kB / 401.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.3014, allocations: 7.094 kB / 401.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.3015, allocations: 44.34 kB / 401.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.3015, allocations: 15.61 kB / 401.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3015, allocations: 64 / 401.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001312/0.3017, allocations: 61.02 kB / 401.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3017, allocations: 5 kB / 401.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3017, allocations: 1.031 kB / 401.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3017, allocations: 0 / 401.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.568e-05/0.3017, allocations: 2.781 kB / 401.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3017, allocations: 1.375 kB / 401.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3019, allocations: 22.22 kB / 401.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3019, allocations: 0 / 401.5 MB, free: 5.109 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 9.654e-05/0.302, allocations: 137 kB / 401.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3021, allocations: 21.78 kB / 401.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.3021, allocations: 22.58 kB / 401.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3021, allocations: 0.9375 kB / 401.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3022, allocations: 5.375 kB / 401.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3022, allocations: 0 / 401.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3024, allocations: 162.6 kB / 401.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3024, allocations: 0.6094 kB / 401.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.3024, allocations: 6.594 kB / 401.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3024, allocations: 0.75 kB / 401.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3024, allocations: 4 kB / 401.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3024, allocations: 5.297 kB / 401.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3024, allocations: 0.7031 kB / 401.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.3026, allocations: 78.59 kB / 401.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3027, allocations: 34.38 kB / 401.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3027, allocations: 1.906 kB / 401.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3029, allocations: 13.72 kB / 402 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3029, allocations: 5.5 kB / 402 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3029, allocations: 0.6562 kB / 402 MB, free: 4.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.3032, allocations: 175.2 kB / 402.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3032, allocations: 0 / 402.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004043/0.3036, allocations: 17.98 kB / 402.1 MB, free: 4.586 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.000763/0.3043, allocations: 0.6886 MB / 402.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3044, allocations: 13.59 kB / 402.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3044, allocations: 1.25 kB / 402.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.3045, allocations: 11.39 kB / 402.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3047, allocations: 9.938 kB / 402.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3069, allocations: 1.67 MB / 404.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.307, allocations: 0.7091 MB / 405.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3072, allocations: 39.14 kB / 405.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3073, allocations: 74.39 kB / 405.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of SimCode: time 2.485e-06/0.3073, allocations: 0 / 405.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.3455, allocations: 4.196 MB / 409.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.27, allocations: 0.9375 kB / 409.6 MB, free: 0.6055 MB / 318.1 MB " [Timeout remaining time 649] (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: 13.988267102977261] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 11.423191304085776 11.440168561 11.138390132 Calling exit ...