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.001311/0.001311, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.0014/0.0014, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.41/1.41, allocations: 230.5 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.002671/0.002671, allocations: 64.09 kB / 373.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.119, allocations: 53.31 MB / 426.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002481/0.1215, allocations: 1.212 MB / 428.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.1249, allocations: 2.086 MB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.1249, allocations: 0 / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.125, allocations: 0 / 430.1 MB, free: 1.582 MB / 350.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.001342/0.1263, allocations: 473.4 kB / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.476e-05/0.1263, allocations: 4 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.1264, allocations: 19.91 kB / 430.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.1264, allocations: 3.938 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.1264, allocations: 8 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1267, allocations: 4 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1267, allocations: 0 / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008092/0.1275, allocations: 0.515 MB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.1276, allocations: 7.984 kB / 431.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1276, allocations: 11.92 kB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.1281, allocations: 371.2 kB / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1281, allocations: 0 / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1281, allocations: 0 / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1281, allocations: 0 / 431.5 MB, free: 188 kB / 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.1999/0.328, allocations: 422.1 kB / 432 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3281, allocations: 9.594 kB / 432 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.3281, allocations: 109.7 kB / 432.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.3282, allocations: 82.5 kB / 432.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3283, allocations: 246 kB / 432.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3283, allocations: 157.1 kB / 432.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3284, allocations: 153.2 kB / 432.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.401e-05/0.3284, allocations: 104 kB / 432.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3284, allocations: 80.22 kB / 432.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.3285, allocations: 153.6 kB / 433 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.3285, allocations: 159.4 kB / 433.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.3285, allocations: 151.8 kB / 433.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.3287, allocations: 447.6 kB / 433.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.3288, allocations: 172.2 kB / 433.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.3288, allocations: 81.23 kB / 434 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3288, allocations: 75.81 kB / 434.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3289, allocations: 46.5 kB / 434.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 3.176e-06/0.3289, allocations: 6.828 kB / 434.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.3291, allocations: 39.91 kB / 434.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.3291, allocations: 54.03 kB / 434.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.3292, allocations: 101.3 kB / 434.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.3292, allocations: 25.7 kB / 434.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.3292, allocations: 85.44 kB / 434.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.3292, allocations: 3.953 kB / 434.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3292, allocations: 15.23 kB / 434.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.3293, allocations: 314.7 kB / 434.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.3293, allocations: 1.438 kB / 434.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.3293, allocations: 1.156 kB / 434.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/0.3293, allocations: 8.969 kB / 434.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3293, allocations: 0.5 kB / 434.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.481e-05/0.3294, allocations: 41.53 kB / 434.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3294, allocations: 12.69 kB / 434.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3294, allocations: 0 / 434.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3294, allocations: 1.172 kB / 434.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.126e-05/0.3294, allocations: 2.688 kB / 434.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3294, allocations: 1.203 kB / 434.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.3295, allocations: 1.25 kB / 434.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3295, allocations: 0 / 434.8 MB, free: 8.125 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 4.964e-05/0.3295, allocations: 115.2 kB / 434.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.3295, allocations: 5.281 kB / 435 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.3296, allocations: 5.547 kB / 435 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3296, allocations: 0.7188 kB / 435 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3296, allocations: 0.5 kB / 435 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3296, allocations: 0.6094 kB / 435 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.648e-05/0.3296, allocations: 149.8 kB / 435.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3296, allocations: 4.094 kB / 435.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-06/0.3296, allocations: 0.5625 kB / 435.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3296, allocations: 5.312 kB / 435.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-06/0.3297, allocations: 0 / 435.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3297, allocations: 1.375 kB / 435.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3297, allocations: 1.094 kB / 435.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.378e-05/0.3297, allocations: 60.98 kB / 435.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.3297, allocations: 82.86 kB / 435.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3297, allocations: 1.328 kB / 435.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.3298, allocations: 0.8438 kB / 435.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.3298, allocations: 3.781 kB / 435.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.3298, allocations: 0.9688 kB / 435.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.786e-05/0.3298, allocations: 85.03 kB / 435.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3298, allocations: 0.5 kB / 435.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.3303, allocations: 155.3 kB / 435.5 MB, free: 7.574 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.001153/0.3315, allocations: 1.004 MB / 436.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.3315, allocations: 4.781 kB / 436.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3315, allocations: 0 / 436.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/0.3315, allocations: 2.25 kB / 436.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.3317, allocations: 7.812 kB / 436.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.3325, allocations: 1.163 MB / 437.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.899e-05/0.3325, allocations: 0.6736 MB / 438.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.265e-05/0.3326, allocations: 12.36 kB / 438.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3326, allocations: 14.88 kB / 438.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3326, allocations: 0 / 438.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3616, allocations: 4.355 MB / 442.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.513, allocations: 8.641 kB / 442.7 MB, free: 4.473 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.000201919 --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: 10.784590385854244] Failed to read output from testmodel.py, exit status != 0: ['time', 'J', 'phi_rel0', 'w_rel0'] 8.586637047119439 8.603557711 8.472244233 Calling exit ...