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.00139/0.00139, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001421/0.001421, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.486/1.486, allocations: 230.5 MB / 254.7 MB, free: 15 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.002003/0.002003, allocations: 67.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1155, allocations: 53.31 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003869/0.1194, allocations: 2.012 MB / 428.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1207, allocations: 0.5765 MB / 429.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1208, allocations: 4 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.121, allocations: 27.72 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1211, allocations: 31.7 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1214, allocations: 55.86 kB / 429.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1216, allocations: 147.4 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1218, allocations: 53.53 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.122, allocations: 75.72 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1221, allocations: 67.69 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1221, allocations: 16 kB / 429.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.1222, allocations: 16 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.1222, allocations: 31.91 kB / 430 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.1223, allocations: 75.61 kB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1226, allocations: 167.3 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1226, allocations: 0 / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1226, allocations: 0 / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1226, allocations: 4 kB / 430.2 MB, free: 1.488 MB / 350.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.0006982/0.1233, allocations: 446.8 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1234, allocations: 8.031 kB / 430.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.1234, allocations: 46.73 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.1236, allocations: 28.83 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.1239, allocations: 208.1 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1239, allocations: 12.38 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.124, allocations: 16.38 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1243, allocations: 149.4 kB / 431.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1243, allocations: 3.953 kB / 431.1 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1244, allocations: 12 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1244, allocations: 0 / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.1246, allocations: 95.92 kB / 431.2 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1913/0.3159, allocations: 0.5158 MB / 431.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3161, allocations: 78.55 kB / 431.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.3162, allocations: 30.2 kB / 431.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3162, allocations: 1.25 kB / 431.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3162, allocations: 33.17 kB / 431.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.3162, allocations: 1.781 kB / 431.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001079/0.3173, allocations: 0.6038 MB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3173, allocations: 52.97 kB / 432.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3175, allocations: 139.5 kB / 432.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.3175, allocations: 25.7 kB / 432.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3175, allocations: 134.8 kB / 432.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3176, allocations: 42.66 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.3176, allocations: 36.19 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.3177, allocations: 323.6 kB / 433.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.3178, allocations: 31.44 kB / 433.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3179, allocations: 92.38 kB / 433.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.318, allocations: 131.8 kB / 433.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.318, allocations: 0 / 433.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002558/0.3183, allocations: 152.4 kB / 433.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3183, allocations: 6.812 kB / 433.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3183, allocations: 3.062 kB / 433.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3183, allocations: 6.844 kB / 433.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3185, allocations: 41.39 kB / 433.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3185, allocations: 7.188 kB / 433.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.3186, allocations: 3.562 kB / 433.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3186, allocations: 9.406 kB / 433.7 MB, free: 9.594 MB / 350.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 8.441e-05/0.3187, allocations: 121.8 kB / 433.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3187, allocations: 13.42 kB / 433.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.3188, allocations: 15.34 kB / 433.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3188, allocations: 4.781 kB / 433.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3188, allocations: 1.094 kB / 433.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3188, allocations: 4.594 kB / 433.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.3193, allocations: 444.1 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3193, allocations: 1.781 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3194, allocations: 29.25 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3194, allocations: 1.781 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3194, allocations: 4.719 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3194, allocations: 1.656 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3194, allocations: 3.281 kB / 434.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3197, allocations: 256.8 kB / 434.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.3197, allocations: 85.38 kB / 434.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3198, allocations: 5.438 kB / 434.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.3198, allocations: 3.344 kB / 434.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3199, allocations: 19.23 kB / 434.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3199, allocations: 8.875 kB / 434.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.3199, allocations: 102.3 kB / 434.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3199, allocations: 0 / 434.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3202, allocations: 27.69 kB / 434.8 MB, free: 8.816 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.0004437/0.3206, allocations: 0.783 MB / 435.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3209, allocations: 85.22 kB / 435.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3209, allocations: 0 / 435.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.3209, allocations: 42.72 kB / 435.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3213, allocations: 16.06 kB / 435.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3231, allocations: 1.87 MB / 437.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3232, allocations: 0.7152 MB / 438.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.237e-05/0.3233, allocations: 10.89 kB / 438.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.3234, allocations: 40.66 kB / 438.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3234, allocations: 1.062 kB / 438.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3527, allocations: 2.434 MB / 440.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.359, allocations: 10.11 kB / 440.8 MB, free: 5.535 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.718367313966155] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass.s', 'mass.v'] 8.42947888514027 8.451516748 8.324171521 Calling exit ...