Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.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.001895/0.001895, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002011/0.002011, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors",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.002/0.002, allocations: 60.77 kB / 378.5 MB, free: 3.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 53.36 MB / 431.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003602/0.3078, allocations: 2.024 MB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3089, allocations: 0.5882 MB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3091, allocations: 4 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3092, allocations: 23.72 kB / 434.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.3093, allocations: 31.72 kB / 434.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.3095, allocations: 51.88 kB / 434.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.3098, allocations: 147.4 kB / 434.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.31, allocations: 61.64 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.3101, allocations: 71.72 kB / 434.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3103, allocations: 71.69 kB / 435 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.3103, allocations: 12 kB / 435 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.3103, allocations: 20 kB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.3104, allocations: 35.86 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.3105, allocations: 75.66 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3107, allocations: 168.2 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3107, allocations: 0 / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3107, allocations: 0 / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3107, allocations: 4 kB / 435.3 MB, free: 3.555 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000635/0.3114, allocations: 365.7 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3114, allocations: 16.03 kB / 435.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.795e-05/0.3115, allocations: 50.67 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3116, allocations: 24.78 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3119, allocations: 150.3 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.3119, allocations: 12.38 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.312, allocations: 20.36 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.3123, allocations: 141.9 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3123, allocations: 7.953 kB / 436 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3123, allocations: 4 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3123, allocations: 11.94 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.3126, allocations: 91.94 kB / 436.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.3134, allocations: 471.2 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3136, allocations: 82.48 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.3136, allocations: 28.84 kB / 436.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3136, allocations: 3.984 kB / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3137, allocations: 34.56 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3137, allocations: 4 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009813/0.3147, allocations: 458.8 kB / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3147, allocations: 59.28 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3148, allocations: 130.1 kB / 437.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3149, allocations: 29.7 kB / 437.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.3149, allocations: 136.1 kB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.315, allocations: 47.58 kB / 437.6 MB, free: 1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.3151, allocations: 37.72 kB / 437.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3152, allocations: 318.8 kB / 437.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.3153, allocations: 33.02 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3154, allocations: 82.84 kB / 438.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3156, allocations: 134.7 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3156, allocations: 0 / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002783/0.3159, allocations: 157.4 kB / 438.3 MB, free: 188 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3159, allocations: 8 kB / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3159, allocations: 0 / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3159, allocations: 4 kB / 438.4 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3161, allocations: 43.86 kB / 438.4 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3161, allocations: 7.984 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.3162, allocations: 8.172 kB / 438.4 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3162, allocations: 12 kB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001283/0.3163, allocations: 125.8 kB / 438.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3163, allocations: 7.953 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.3164, allocations: 12.72 kB / 438.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3164, allocations: 7.938 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3164, allocations: 4 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3164, allocations: 0 / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.3169, allocations: 419.1 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.317, allocations: 0 / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.3171, allocations: 23.98 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3171, allocations: 4 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3171, allocations: 0 / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3171, allocations: 3.938 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3171, allocations: 7.938 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.3175, allocations: 249.2 kB / 439.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.3175, allocations: 15.91 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3175, allocations: 0 / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3176, allocations: 4 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3177, allocations: 8.172 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.3177, allocations: 12.05 kB / 439.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.261e-05/0.3178, allocations: 106.1 kB / 439.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3178, allocations: 0 / 439.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.318, allocations: 28 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.0006388/0.3187, allocations: 0.7882 MB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3189, allocations: 83.84 kB / 440.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3189, allocations: 4 kB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.319, allocations: 35.92 kB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3193, allocations: 19.2 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3215, allocations: 1.875 MB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3219, allocations: 0.7119 MB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.3219, allocations: 16.97 kB / 443 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.322, allocations: 35.44 kB / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.322, allocations: 0 / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.3479, allocations: 2.513 MB / 445.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.397, allocations: 7.156 kB / 445.5 MB, free: 8.82 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.78908450063318] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass.s', 'mass.v'] 8.466563588008285 8.485096234 8.168415031 Calling exit ...