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.001412/0.001412, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001656/0.001656, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.002112/0.002112, allocations: 76.75 kB / 378.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2674, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002347/0.2698, allocations: 1.199 MB / 433.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.2736, allocations: 2.204 MB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.2736, allocations: 0 / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.2736, allocations: 3.938 kB / 435.3 MB, free: 3.484 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.001593/0.2752, allocations: 481.8 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.292e-05/0.2752, allocations: 4 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.2753, allocations: 7.938 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.2754, allocations: 4 kB / 435.8 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.2754, allocations: 7.984 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.2758, allocations: 11.92 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2758, allocations: 0 / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2768, allocations: 0.519 MB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.2768, allocations: 0 / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.2769, allocations: 3.938 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.2775, allocations: 387.9 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2775, allocations: 4 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2775, allocations: 0 / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2775, allocations: 0 / 436.7 MB, free: 2.078 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.0005143/0.2781, allocations: 345.4 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2781, allocations: 12.03 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.2782, allocations: 106 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.2782, allocations: 84.16 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2784, allocations: 185.8 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.2785, allocations: 154.9 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.2786, allocations: 158.4 kB / 437.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.2786, allocations: 101 kB / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.2787, allocations: 79.28 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.2788, allocations: 154.6 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/0.2788, allocations: 158.5 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.2789, allocations: 158.5 kB / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2792, allocations: 417.1 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.2793, allocations: 173 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.2794, allocations: 80.14 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.2794, allocations: 83.28 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.2796, allocations: 43.36 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/0.2796, allocations: 0 / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.2798, allocations: 37.62 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.2798, allocations: 55.41 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2799, allocations: 102 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.28, allocations: 25.7 kB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.28, allocations: 84.14 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.28, allocations: 7.953 kB / 439.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.2801, allocations: 13.7 kB / 439.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2802, allocations: 314.8 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.2802, allocations: 4 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.2802, allocations: 0 / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.2803, allocations: 16.86 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2803, allocations: 3.938 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.049e-05/0.2803, allocations: 33.7 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2803, allocations: 4 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2803, allocations: 3.984 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2804, allocations: 0 / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.2804, allocations: 4 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2804, allocations: 0 / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.2804, allocations: 0 / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2804, allocations: 0 / 439.8 MB, free: 14.73 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 0.0001059/0.2805, allocations: 121.7 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.2805, allocations: 4 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.2806, allocations: 7.109 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2806, allocations: 0 / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2806, allocations: 0 / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2806, allocations: 3.984 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2807, allocations: 124.7 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2807, allocations: 0 / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/0.2807, allocations: 0 / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2807, allocations: 11.88 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2808, allocations: 7.984 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2808, allocations: 0 / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2808, allocations: 0 / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.93e-05/0.2808, allocations: 57.08 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.2809, allocations: 4 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2809, allocations: 0 / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.2809, allocations: 8.016 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.2809, allocations: 4 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2809, allocations: 0 / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.177e-05/0.281, allocations: 83.28 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.281, allocations: 0 / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005456/0.2815, allocations: 147.5 kB / 440.4 MB, free: 14.09 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.001571/0.2831, allocations: 0.9844 MB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.2832, allocations: 0 / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2832, allocations: 0 / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.2832, allocations: 12.06 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.2833, allocations: 0 / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2845, allocations: 1.169 MB / 442.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.2848, allocations: 0.6768 MB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.2849, allocations: 7.984 kB / 443.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.2849, allocations: 15.42 kB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2849, allocations: 0 / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.3193, allocations: 4.347 MB / 447.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.585, allocations: 3.453 kB / 447.6 MB, free: 6.898 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.004065277054906] Failed to read output from testmodel.py, exit status != 0: ['time', 'J', 'phi_rel0', 'w_rel0'] 8.656264252960682 8.671719307 8.391043783 Calling exit ...