Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 105.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 221.1 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.287/1.287, allocations: 230.5 MB / 256.4 MB, free: 8.441 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 59.91 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2228, allocations: 53.31 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001976/0.2247, allocations: 1.211 MB / 430.6 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.2277, allocations: 2.16 MB / 432.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.2277, allocations: 0 / 432.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.2277, allocations: 0 / 432.7 MB, free: 4.051 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001042/0.2288, allocations: 474.5 kB / 433.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.77e-05/0.2288, allocations: 0 / 433.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.2288, allocations: 15.92 kB / 433.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.2289, allocations: 8 kB / 433.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.2289, allocations: 4 kB / 433.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.229, allocations: 11.92 kB / 433.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.229, allocations: 0 / 433.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007176/0.2297, allocations: 0.5073 MB / 433.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.2297, allocations: 4 kB / 433.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.2298, allocations: 7.938 kB / 433.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.2302, allocations: 387.5 kB / 434.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.2303, allocations: 0 / 434.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2303, allocations: 0 / 434.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2303, allocations: 4 kB / 434.1 MB, free: 2.648 MB / 334.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.0004308/0.2307, allocations: 418.5 kB / 434.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2307, allocations: 8.031 kB / 434.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.2308, allocations: 110 kB / 434.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.2308, allocations: 84.16 kB / 434.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.231, allocations: 243.7 kB / 435 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/0.2311, allocations: 150.9 kB / 435.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2311, allocations: 162.4 kB / 435.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.088e-05/0.2312, allocations: 105 kB / 435.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2312, allocations: 75.28 kB / 435.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.2313, allocations: 154.5 kB / 435.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.2313, allocations: 162.5 kB / 435.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.2314, allocations: 154.6 kB / 435.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.2317, allocations: 442 kB / 436.4 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.2318, allocations: 177 kB / 436.5 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.2318, allocations: 80.14 kB / 436.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.2318, allocations: 79.27 kB / 436.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.232, allocations: 43.42 kB / 436.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/0.232, allocations: 0 / 436.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001138/0.2321, allocations: 45.62 kB / 436.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2321, allocations: 51.41 kB / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.2322, allocations: 97.8 kB / 436.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2322, allocations: 29.7 kB / 436.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.2322, allocations: 88.27 kB / 437 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.2322, allocations: 3.953 kB / 437 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.2323, allocations: 13.7 kB / 437 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2324, allocations: 314.8 kB / 437.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-06/0.2324, allocations: 0 / 437.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.2324, allocations: 0 / 437.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.2324, allocations: 16.8 kB / 437.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2324, allocations: 8 kB / 437.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.817e-05/0.2325, allocations: 29.7 kB / 437.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2325, allocations: 7.984 kB / 437.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2325, allocations: 4 kB / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2325, allocations: 0 / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-05/0.2325, allocations: 0 / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2325, allocations: 0 / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.2326, allocations: 0 / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2326, allocations: 3.984 kB / 437.4 MB, free: 15.11 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.586e-05/0.2327, allocations: 121.8 kB / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.2327, allocations: 0 / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.2327, allocations: 11.08 kB / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2327, allocations: 3.984 kB / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2327, allocations: 0 / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2327, allocations: 4 kB / 437.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2328, allocations: 145.6 kB / 437.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2328, allocations: 0 / 437.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.2328, allocations: 3.984 kB / 437.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2328, allocations: 4 kB / 437.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.2328, allocations: 3.938 kB / 437.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2328, allocations: 4 kB / 437.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2328, allocations: 0 / 437.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.409e-05/0.2329, allocations: 57.08 kB / 437.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.2329, allocations: 85.05 kB / 437.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2329, allocations: 4.172 kB / 437.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.2329, allocations: 0 / 437.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.233, allocations: 7.984 kB / 437.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.233, allocations: 7.969 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.233, allocations: 83.28 kB / 438 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.233, allocations: 0 / 438 MB, free: 14.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000376/0.2334, allocations: 151.5 kB / 438.1 MB, free: 14.32 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: 1 ($whenCondition1) * 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.001245/0.2346, allocations: 0.9937 MB / 439.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.2347, allocations: 4 kB / 439.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2347, allocations: 64 / 439.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/0.2347, allocations: 8 kB / 439.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.2348, allocations: 0 / 439.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2358, allocations: 1.169 MB / 440.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.2361, allocations: 0.6729 MB / 441 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.884e-05/0.2361, allocations: 7.984 kB / 441 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.2362, allocations: 15.38 kB / 441 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2362, allocations: 0 / 441 MB, free: 11.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2625, allocations: 4.319 MB / 445.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.425, allocations: 3.375 kB / 445.3 MB, free: 7.156 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.496412484004395]