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.001447/0.001447, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001582/0.001582, allocations: 217.3 kB / 22.92 MB, free: 5.191 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.254 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.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.00179/0.00179, allocations: 67.88 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.205, allocations: 53.31 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003034/0.2081, allocations: 2.031 MB / 431.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.209, allocations: 0.5766 MB / 432 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.2091, allocations: 8 kB / 432 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.2092, allocations: 23.78 kB / 432 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.2092, allocations: 35.66 kB / 432.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.2095, allocations: 51.86 kB / 432.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.2096, allocations: 147.4 kB / 432.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2098, allocations: 49.53 kB / 432.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2099, allocations: 67.78 kB / 432.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.21, allocations: 71.69 kB / 432.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.21, allocations: 16 kB / 432.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.2101, allocations: 20 kB / 432.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.2101, allocations: 43.78 kB / 432.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.2102, allocations: 67.67 kB / 432.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2104, allocations: 171.7 kB / 432.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2104, allocations: 0 / 432.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2104, allocations: 0 / 432.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2104, allocations: 4 kB / 432.7 MB, free: 4.059 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.0006219/0.2111, allocations: 446.8 kB / 433.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2111, allocations: 12.03 kB / 433.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.2111, allocations: 46.73 kB / 433.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2113, allocations: 24.83 kB / 433.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.2116, allocations: 208.1 kB / 433.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2116, allocations: 16.38 kB / 433.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.2116, allocations: 12.38 kB / 433.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.2119, allocations: 145.5 kB / 433.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2119, allocations: 15.89 kB / 433.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2119, allocations: 4 kB / 433.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2119, allocations: 4 kB / 433.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.2121, allocations: 83.95 kB / 433.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.2128, allocations: 0.5291 MB / 434.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.213, allocations: 70.56 kB / 434.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.213, allocations: 28.84 kB / 434.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2131, allocations: 4 kB / 434.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2131, allocations: 30.75 kB / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.2131, allocations: 3.938 kB / 434.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.00103/0.2141, allocations: 0.6032 MB / 435 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2142, allocations: 59.34 kB / 435.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.2143, allocations: 130.1 kB / 435.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2143, allocations: 25.7 kB / 435.2 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.2144, allocations: 136.1 kB / 435.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.2144, allocations: 51.58 kB / 435.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.2145, allocations: 33.7 kB / 435.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2146, allocations: 318.8 kB / 435.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.2147, allocations: 31.97 kB / 435.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2148, allocations: 93.89 kB / 435.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.215, allocations: 134.7 kB / 436 MB, free: 444 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.215, allocations: 0 / 436 MB, free: 444 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002515/0.2153, allocations: 153.4 kB / 436.2 MB, free: 284 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2153, allocations: 8 kB / 436.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2153, allocations: 0 / 436.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2153, allocations: 4 kB / 436.2 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2155, allocations: 43.84 kB / 436.2 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2155, allocations: 4.188 kB / 436.2 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.2155, allocations: 12 kB / 436.2 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.2155, allocations: 4 kB / 436.2 MB, free: 208 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 9.675e-05/0.2156, allocations: 125.8 kB / 436.4 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.2157, allocations: 7.953 kB / 436.4 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.2157, allocations: 20.64 kB / 436.4 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2157, allocations: 4.219 kB / 436.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2157, allocations: 0 / 436.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2157, allocations: 0 / 436.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.2163, allocations: 451.9 kB / 436.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2163, allocations: 4 kB / 436.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.2164, allocations: 31.98 kB / 436.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2164, allocations: 0 / 436.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2164, allocations: 0 / 436.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2164, allocations: 4 kB / 436.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2164, allocations: 0 / 436.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.2168, allocations: 257 kB / 437.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.2168, allocations: 89.05 kB / 437.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2168, allocations: 4 kB / 437.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.2169, allocations: 4 kB / 437.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2169, allocations: 12.05 kB / 437.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.2169, allocations: 4 kB / 437.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.217, allocations: 102.2 kB / 437.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.217, allocations: 0 / 437.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.2173, allocations: 24 kB / 437.3 MB, free: 14.97 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.0006665/0.2179, allocations: 0.7843 MB / 438.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2181, allocations: 87.83 kB / 438.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2181, allocations: 0 / 438.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.2182, allocations: 44.48 kB / 438.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2185, allocations: 12 kB / 438.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.2208, allocations: 1.88 MB / 440.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.2212, allocations: 0.7196 MB / 440.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.2212, allocations: 12.88 kB / 440.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.2213, allocations: 35.42 kB / 440.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2213, allocations: 0 / 440.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.245, allocations: 2.412 MB / 443.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.175, allocations: 7.875 kB / 443.3 MB, free: 8.871 MB / 350.1 MB " [Timeout remaining time 653] (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 --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: 9.23362190300395]