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.001714/0.001714, 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.002145/0.002145, allocations: 213.9 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.488/1.488, 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.00188/0.00188, allocations: 64.75 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003477/0.3128, allocations: 2.015 MB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3139, allocations: 0.592 MB / 434.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.314, allocations: 4 kB / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3141, allocations: 23.78 kB / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/0.3141, allocations: 35.64 kB / 434.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.3144, allocations: 51.88 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.3146, allocations: 147.4 kB / 434.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3147, allocations: 49.66 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3149, allocations: 79.77 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.315, allocations: 67.7 kB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3151, allocations: 16 kB / 435 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.743e-05/0.3151, allocations: 19.94 kB / 435 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.3152, allocations: 35.84 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.3152, allocations: 71.66 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3155, allocations: 172.2 kB / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3155, allocations: 0 / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3155, allocations: 0 / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3155, allocations: 0 / 435.3 MB, free: 3.527 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.00064/0.3161, allocations: 373.7 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3162, allocations: 11.97 kB / 435.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.3162, allocations: 50.73 kB / 435.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3164, allocations: 28.83 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3166, allocations: 146.3 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3166, allocations: 8.375 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.3167, allocations: 24.36 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.317, allocations: 153.8 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.317, allocations: 3.953 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.317, allocations: 4 kB / 436.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3171, allocations: 4 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.3173, allocations: 91.94 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.3181, allocations: 475.3 kB / 436.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3182, allocations: 74.53 kB / 436.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.3183, allocations: 28.84 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3183, allocations: 7.984 kB / 436.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3184, allocations: 34.69 kB / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3184, allocations: 0 / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009687/0.3193, allocations: 466.6 kB / 437.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3194, allocations: 59.34 kB / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3195, allocations: 128.9 kB / 437.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3195, allocations: 29.7 kB / 437.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.3196, allocations: 140.1 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3197, allocations: 43.58 kB / 437.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.3197, allocations: 33.72 kB / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3199, allocations: 322.8 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.32, allocations: 27.98 kB / 438 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.3201, allocations: 90.78 kB / 438.1 MB, free: 476 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.3203, allocations: 135.8 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3203, allocations: 0 / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002865/0.3206, allocations: 153.4 kB / 438.4 MB, free: 156 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3206, allocations: 8 kB / 438.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3206, allocations: 96 / 438.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3206, allocations: 7.938 kB / 438.4 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3208, allocations: 40.05 kB / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3208, allocations: 8 kB / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.3209, allocations: 11.98 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3209, allocations: 4 kB / 438.4 MB, free: 76 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.0001213/0.321, allocations: 125.8 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.321, allocations: 11.95 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.3211, allocations: 12.72 kB / 438.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3211, allocations: 3.938 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3211, allocations: 0 / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3211, allocations: 7.984 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.3217, allocations: 415.1 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3217, allocations: 0 / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3218, allocations: 23.98 kB / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3218, allocations: 0 / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3218, allocations: 4 kB / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3218, allocations: 7.938 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3218, allocations: 4.062 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.3222, allocations: 249 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3222, allocations: 15.94 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3222, allocations: 0 / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.3223, allocations: 12.05 kB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3224, allocations: 11.98 kB / 439.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.3224, allocations: 4 kB / 439.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.3224, allocations: 99.27 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3224, allocations: 0 / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3227, allocations: 24 kB / 439.4 MB, free: 14.98 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.0006754/0.3234, allocations: 0.7882 MB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3236, allocations: 87.88 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3236, allocations: 448 / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.3237, allocations: 43.92 kB / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.324, allocations: 11.98 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.3264, allocations: 1.883 MB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.3267, allocations: 0.7158 MB / 443 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.3268, allocations: 8.969 kB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.3269, allocations: 39.42 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3269, allocations: 0 / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3546, allocations: 2.507 MB / 445.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.498, allocations: 13.77 kB / 445.5 MB, free: 8.785 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.985460350755602] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass.s', 'mass.v'] 8.569999513681978 8.595379422 8.275199408 Calling exit ...