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.0008839/0.0008839, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005791/0.005791, allocations: 166.2 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.906/0.906, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.422e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009488/0.000963, allocations: 0.5222 MB / 298.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.002524, allocations: 1.896 MB / 300.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.002567, allocations: 0 / 300.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.003812, allocations: 145.2 kB / 301 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.003862, allocations: 31.95 kB / 301 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.004004, allocations: 43.83 kB / 301 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.004087, allocations: 51.83 kB / 301.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.004125, allocations: 0 / 301.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.154e-05/0.004216, allocations: 39.84 kB / 301.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.004289, allocations: 19.97 kB / 301.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.004307, allocations: 7.938 kB / 301.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.534e-05/0.004352, allocations: 11.98 kB / 301.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.004428, allocations: 59.77 kB / 301.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.004473, allocations: 35.91 kB / 301.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.004663, allocations: 99.64 kB / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004665, allocations: 0 / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.004667, allocations: 0 / 301.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004672, allocations: 7.938 kB / 301.4 MB, free: 0.5625 MB / 282.7 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.0004873/0.005159, allocations: 431.2 kB / 301.8 MB, free: 108 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.005197, allocations: 11.98 kB / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.005224, allocations: 38.75 kB / 301.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.005266, allocations: 16.84 kB / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1318/0.1371, allocations: 242.2 kB / 302.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1371, allocations: 4.75 kB / 302.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1371, allocations: 1.719 kB / 302.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1373, allocations: 172.2 kB / 302.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1373, allocations: 192 / 302.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.1373, allocations: 5.781 kB / 302.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1373, allocations: 2.438 kB / 302.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.1374, allocations: 4.312 kB / 302.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1377, allocations: 178.1 kB / 302.5 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.1378, allocations: 20.95 kB / 302.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.1378, allocations: 8.844 kB / 302.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1378, allocations: 3 kB / 302.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1379, allocations: 58.64 kB / 302.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 3.216e-06/0.1379, allocations: 3.875 kB / 302.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.138, allocations: 55.3 kB / 302.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1381, allocations: 157 kB / 302.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1383, allocations: 238.5 kB / 303 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1383, allocations: 28.67 kB / 303 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.1384, allocations: 113.6 kB / 303.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1384, allocations: 2.516 kB / 303.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.1384, allocations: 23.72 kB / 303.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.1385, allocations: 329.8 kB / 303.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.1385, allocations: 4.141 kB / 303.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.1385, allocations: 146.7 kB / 303.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.1385, allocations: 18.03 kB / 303.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1385, allocations: 1.188 kB / 303.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.741e-05/0.1386, allocations: 60.19 kB / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1386, allocations: 5.469 kB / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1386, allocations: 0 / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1386, allocations: 0.7969 kB / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.1387, allocations: 8.281 kB / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1387, allocations: 2.656 kB / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.1388, allocations: 14.41 kB / 303.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1388, allocations: 5.25 kB / 303.7 MB, free: 14.44 MB / 282.7 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 6.446e-05/0.1388, allocations: 132.8 kB / 303.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1389, allocations: 15.78 kB / 303.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.1389, allocations: 21.55 kB / 303.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1389, allocations: 1.859 kB / 303.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1389, allocations: 0 / 303.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1389, allocations: 1.125 kB / 303.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.139, allocations: 171.2 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.139, allocations: 0 / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.1391, allocations: 4.109 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1391, allocations: 1.062 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1391, allocations: 0 / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1391, allocations: 1.781 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1391, allocations: 1.922 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1392, allocations: 82.11 kB / 304.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1392, allocations: 37.48 kB / 304.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1393, allocations: 6 kB / 304.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.1393, allocations: 13.58 kB / 304.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.1393, allocations: 5.344 kB / 304.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1393, allocations: 0 / 304.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1395, allocations: 181.9 kB / 304.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1395, allocations: 3.625 kB / 304.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.1396, allocations: 24.62 kB / 304.4 MB, free: 13.97 MB / 282.7 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.0004896/0.1401, allocations: 0.6984 MB / 305.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1402, allocations: 18.75 kB / 305.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1402, allocations: 0 / 305.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.1402, allocations: 3.516 kB / 305.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1404, allocations: 18.41 kB / 305.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1416, allocations: 1.709 MB / 306.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.958e-05/0.1417, allocations: 100.4 kB / 307 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.1418, allocations: 35.73 kB / 307 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.1418, allocations: 72.42 kB / 307.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1418, allocations: 0 / 307.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.167, allocations: 4.868 MB / 312 MB, free: 10.36 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/6.754, allocations: 2.125 kB / 312 MB, free: 10.36 MB / 282.7 MB " [Timeout remaining time 653] (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: 8.378649158403277] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 6.848766520619392 6.856737323 6.85060309 Calling exit ...