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.001422/0.001422, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001365/0.001365, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.459/1.459, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001952/0.001952, allocations: 63.84 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 53.33 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002361/0.1131, allocations: 1.206 MB / 428.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.1164, allocations: 2.098 MB / 430.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1164, allocations: 4 kB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1164, allocations: 0 / 430.3 MB, free: 1.496 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.001215/0.1177, allocations: 469.6 kB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.167e-05/0.1177, allocations: 3.984 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.1177, allocations: 19.88 kB / 430.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.1178, allocations: 3.984 kB / 430.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.1178, allocations: 8 kB / 430.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1181, allocations: 7.984 kB / 430.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.1181, allocations: 0 / 430.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.1189, allocations: 0.5112 MB / 431.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1189, allocations: 3.984 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.1189, allocations: 7.875 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.1194, allocations: 379.1 kB / 431.7 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1194, allocations: 0 / 431.7 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1194, allocations: 0 / 431.7 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1194, allocations: 3.938 kB / 431.7 MB, free: 100 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.2015/0.3209, allocations: 422.3 kB / 432.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.321, allocations: 9.969 kB / 432.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.321, allocations: 106.7 kB / 432.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3211, allocations: 82.11 kB / 432.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3212, allocations: 242.7 kB / 432.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3212, allocations: 158.8 kB / 432.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3212, allocations: 152.8 kB / 432.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.13e-05/0.3212, allocations: 101.5 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3213, allocations: 81.44 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.3213, allocations: 156.2 kB / 433.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3213, allocations: 151.1 kB / 433.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.3213, allocations: 154.9 kB / 433.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3215, allocations: 448 kB / 433.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.3215, allocations: 169.8 kB / 434.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.3216, allocations: 81.41 kB / 434.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3216, allocations: 76 kB / 434.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.3217, allocations: 54.81 kB / 434.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/0.3217, allocations: 0 / 434.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000118/0.3218, allocations: 39.88 kB / 434.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3219, allocations: 51.41 kB / 434.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.3219, allocations: 104 kB / 434.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.3219, allocations: 26.42 kB / 434.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.322, allocations: 81.61 kB / 434.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.322, allocations: 8.234 kB / 434.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.322, allocations: 12.94 kB / 434.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.746e-05/0.322, allocations: 315.5 kB / 434.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.322, allocations: 0.75 kB / 434.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.322, allocations: 1.703 kB / 434.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.3221, allocations: 8.25 kB / 434.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3221, allocations: 0 / 434.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.725e-05/0.3221, allocations: 43.44 kB / 434.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3221, allocations: 10.42 kB / 435 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.3221, allocations: 0 / 435 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3221, allocations: 0.8438 kB / 435 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.992e-05/0.3222, allocations: 1.797 kB / 435 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3222, allocations: 0.5938 kB / 435 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.3222, allocations: 3.125 kB / 435 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3222, allocations: 5.453 kB / 435 MB, free: 8.035 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.157e-05/0.3222, allocations: 108.6 kB / 435.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.3222, allocations: 6.156 kB / 435.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.3223, allocations: 4.828 kB / 435.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3223, allocations: 0.7031 kB / 435.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3223, allocations: 0.5 kB / 435.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3223, allocations: 1.219 kB / 435.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.435e-05/0.3223, allocations: 152.8 kB / 435.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3223, allocations: 6.344 kB / 435.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-06/0.3223, allocations: 1.391 kB / 435.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3223, allocations: 3.938 kB / 435.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.3224, allocations: 1.688 kB / 435.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3224, allocations: 0 / 435.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3224, allocations: 0.875 kB / 435.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.413e-05/0.3224, allocations: 64.75 kB / 435.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.3224, allocations: 82.8 kB / 435.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3224, allocations: 1.703 kB / 435.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.3225, allocations: 0 / 435.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.3225, allocations: 1.906 kB / 435.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3225, allocations: 3.828 kB / 435.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.3225, allocations: 85.17 kB / 435.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3225, allocations: 4.188 kB / 435.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.323, allocations: 147.8 kB / 435.6 MB, free: 7.465 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.001204/0.3242, allocations: 0.9843 MB / 436.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.3243, allocations: 3.031 kB / 436.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3243, allocations: 1.062 kB / 436.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.3243, allocations: 1.438 kB / 436.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3244, allocations: 2.297 kB / 436.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.3252, allocations: 1.167 MB / 437.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.103e-05/0.3253, allocations: 0.6742 MB / 438.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.3253, allocations: 17.25 kB / 438.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3254, allocations: 15.73 kB / 438.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3254, allocations: 4.812 kB / 438.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.3565, allocations: 4.345 MB / 442.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.602, allocations: 11.97 kB / 442.9 MB, free: 4.355 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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: 11.101746573578566] Failed to read output from testmodel.py, exit status != 0: ['time', 'J', 'phi_rel0', 'w_rel0'] 8.673340838868171 8.698158136 8.573612113 Calling exit ...