Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.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.001389/0.001389, allocations: 118.6 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.001439/0.001439, 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.422/1.422, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_MUX2x1",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.002728/0.002728, allocations: 71.81 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1172, allocations: 53.3 MB / 426.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003018/0.1202, allocations: 1.585 MB / 428.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1225, allocations: 0.9043 MB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.1226, allocations: 0 / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.1227, allocations: 15.86 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.1228, allocations: 19.86 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.123, allocations: 51.88 kB / 429.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1232, allocations: 159.6 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1233, allocations: 21.39 kB / 429.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.124, allocations: 0.6317 MB / 430.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1242, allocations: 87.61 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.1242, allocations: 12 kB / 430.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.1242, allocations: 12 kB / 430.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/0.1243, allocations: 79.69 kB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.1245, allocations: 135 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.1249, allocations: 450.1 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1249, allocations: 0 / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1249, allocations: 0 / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.125, allocations: 3.938 kB / 431 MB, free: 0.7227 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009808/0.1259, allocations: 0.8333 MB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.126, allocations: 8.031 kB / 431.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.126, allocations: 46.73 kB / 431.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.1261, allocations: 44.66 kB / 432 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.1265, allocations: 294.6 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1265, allocations: 8.375 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1266, allocations: 8.375 kB / 432.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.1269, allocations: 181.5 kB / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1269, allocations: 0 / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1269, allocations: 4 kB / 432.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1269, allocations: 4 kB / 432.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1271, allocations: 83.95 kB / 432.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.1279, allocations: 0.5004 MB / 433 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1281, allocations: 94.53 kB / 433.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1283, allocations: 84.88 kB / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.1283, allocations: 0 / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.1287, allocations: 258.5 kB / 433.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1287, allocations: 0 / 433.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001005/0.1297, allocations: 0.6111 MB / 434.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.1298, allocations: 195.9 kB / 434.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.1305, allocations: 0.5562 MB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1306, allocations: 33.7 kB / 434.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1307, allocations: 117.1 kB / 435 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.1307, allocations: 35.94 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1309, allocations: 101.5 kB / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.131, allocations: 330.8 kB / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1312, allocations: 87.91 kB / 435.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1314, allocations: 97.77 kB / 435.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.1318, allocations: 441 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1318, allocations: 8 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007469/0.1325, allocations: 0.4941 MB / 436.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1327, allocations: 152.5 kB / 436.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1327, allocations: 0 / 436.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1327, allocations: 0 / 436.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-05/0.1327, allocations: 3.938 kB / 436.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1327, allocations: 4 kB / 436.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1329, allocations: 15.98 kB / 436.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.133, allocations: 101.2 kB / 436.8 MB, free: 10.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0004596/0.1335, allocations: 412 kB / 437.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.1335, allocations: 43.72 kB / 437.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1337, allocations: 79.39 kB / 437.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1337, allocations: 0 / 437.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1337, allocations: 4 kB / 437.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1337, allocations: 0 / 437.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1349, allocations: 0.9626 MB / 438.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1349, allocations: 0 / 438.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-06/0.1349, allocations: 0 / 438.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1349, allocations: 4 kB / 438.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.135, allocations: 19.98 kB / 438.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.135, allocations: 3.938 kB / 438.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.135, allocations: 4 kB / 438.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.1358, allocations: 0.6598 MB / 439 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.1362, allocations: 260.6 kB / 439.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.1363, allocations: 12 kB / 439.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1364, allocations: 19.92 kB / 439.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.1366, allocations: 51.94 kB / 439.3 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.1367, allocations: 101.2 kB / 439.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005483/0.1372, allocations: 422.9 kB / 439.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1372, allocations: 0 / 439.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1376, allocations: 52 kB / 439.9 MB, free: 7.199 MB / 366.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.001171/0.1387, allocations: 1.232 MB / 441.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.1393, allocations: 484.8 kB / 441.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1393, allocations: 0 / 441.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.1397, allocations: 385 kB / 442 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.1405, allocations: 187.7 kB / 442.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.1447, allocations: 3.24 MB / 445.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.1452, allocations: 0.8182 MB / 446.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.1453, allocations: 16.86 kB / 446.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.1454, allocations: 43.42 kB / 446.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1454, allocations: 0 / 446.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/0.3591, allocations: 9.252 MB / 455.5 MB, free: 24.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.265, allocations: 1.094 kB / 455.5 MB, free: 24.13 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.524376256857067] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.334604006726295 8.348544231 8.219459853 Calling exit ...