Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 110.4 kB / 18.48 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 193 kB / 21.43 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1007, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002773/0.1034, allocations: 1.573 MB / 420.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1054, allocations: 0.8653 MB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.1055, allocations: 4 kB / 420.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1056, allocations: 11.86 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1057, allocations: 19.88 kB / 421 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.106, allocations: 63.8 kB / 421 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1062, allocations: 147.7 kB / 421.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1063, allocations: 21.39 kB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.107, allocations: 0.6395 MB / 421.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1072, allocations: 83.66 kB / 421.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.1072, allocations: 16 kB / 421.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.1073, allocations: 12 kB / 421.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1074, allocations: 83.62 kB / 422 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1075, allocations: 123.1 kB / 422.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.108, allocations: 458 kB / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.108, allocations: 0 / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.108, allocations: 0 / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.108, allocations: 0 / 422.6 MB, free: 8.484 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.0009281/0.109, allocations: 0.8294 MB / 423.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.109, allocations: 8.031 kB / 423.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.109, allocations: 8.188 kB / 423.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1091, allocations: 38.75 kB / 423.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.1091, allocations: 44.66 kB / 423.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1095, allocations: 306.5 kB / 423.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1095, allocations: 4.375 kB / 423.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1096, allocations: 16.31 kB / 423.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.1099, allocations: 172 kB / 424 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1099, allocations: 3.984 kB / 424 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.11, allocations: 4 kB / 424 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.11, allocations: 4 kB / 424 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.1101, allocations: 87.89 kB / 424.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.1109, allocations: 0.4927 MB / 424.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1111, allocations: 102.5 kB / 424.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1113, allocations: 88.81 kB / 424.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.1113, allocations: 4 kB / 424.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.1117, allocations: 246.6 kB / 425 MB, free: 5.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1117, allocations: 0 / 425 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001058/0.1128, allocations: 0.6174 MB / 425.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.1129, allocations: 195.9 kB / 425.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.1136, allocations: 0.5679 MB / 426.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.1136, allocations: 29.7 kB / 426.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.1137, allocations: 113.1 kB / 426.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1138, allocations: 31.95 kB / 426.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1139, allocations: 101.5 kB / 426.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1141, allocations: 330.8 kB / 427 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1142, allocations: 83.89 kB / 427.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1144, allocations: 101.6 kB / 427.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.1149, allocations: 430.7 kB / 427.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1149, allocations: 4 kB / 427.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007402/0.1156, allocations: 0.5043 MB / 428.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1157, allocations: 152.5 kB / 428.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1158, allocations: 0 / 428.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1158, allocations: 4 kB / 428.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.1158, allocations: 0 / 428.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1158, allocations: 0 / 428.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.116, allocations: 19.92 kB / 428.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.1161, allocations: 101.3 kB / 428.4 MB, free: 2.219 MB / 350.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.0004245/0.1165, allocations: 404.1 kB / 428.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.1166, allocations: 51.7 kB / 428.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1167, allocations: 67.48 kB / 428.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1167, allocations: 3.984 kB / 428.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1167, allocations: 0 / 428.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1167, allocations: 3.938 kB / 428.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1179, allocations: 0.9595 MB / 429.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1179, allocations: 4 kB / 429.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-06/0.1179, allocations: 0 / 429.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1179, allocations: 4 kB / 429.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.1179, allocations: 23.98 kB / 429.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1179, allocations: 12 kB / 429.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1179, allocations: 0 / 429.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.1188, allocations: 0.6599 MB / 430.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.1192, allocations: 256.6 kB / 430.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.1192, allocations: 12 kB / 430.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1194, allocations: 19.73 kB / 430.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.1195, allocations: 55.94 kB / 430.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.1196, allocations: 101.2 kB / 431 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005233/0.1201, allocations: 418.8 kB / 431.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1201, allocations: 0 / 431.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1205, allocations: 51.94 kB / 431.4 MB, free: 14.96 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.001223/0.1217, allocations: 1.236 MB / 432.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000631/0.1223, allocations: 480.8 kB / 433.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1223, allocations: 0 / 433.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.1227, allocations: 381 kB / 433.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.1236, allocations: 188.2 kB / 433.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.1278, allocations: 3.26 MB / 437 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.1283, allocations: 0.8182 MB / 437.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.398e-05/0.1284, allocations: 12.81 kB / 437.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.1284, allocations: 47.42 kB / 437.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1284, allocations: 0 / 437.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2069/0.3353, allocations: 9.273 MB / 447.1 MB, free: 31.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.343, allocations: 3.922 kB / 447.1 MB, free: 31.48 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.672256866004318] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.466991086024791 8.481477796 8.370921049 Calling exit ...