Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 114.8 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 254.8 MB, free: 15.23 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002765/0.114, allocations: 1.592 MB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.116, allocations: 0.8965 MB / 429.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.1161, allocations: 0 / 429.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.131e-05/0.1161, allocations: 11.86 kB / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.1162, allocations: 31.78 kB / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1165, allocations: 51.88 kB / 429.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.1167, allocations: 159.7 kB / 429.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.1168, allocations: 13.39 kB / 429.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007455/0.1175, allocations: 0.6356 MB / 430.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1177, allocations: 83.69 kB / 430.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.1177, allocations: 12 kB / 430.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.1178, allocations: 12 kB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1179, allocations: 83.61 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.118, allocations: 127 kB / 430.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.1185, allocations: 458.1 kB / 431.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1185, allocations: 4 kB / 431.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1185, allocations: 0 / 431.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1185, allocations: 3.938 kB / 431.2 MB, free: 0.625 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.0009459/0.1194, allocations: 0.8293 MB / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1195, allocations: 8.031 kB / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.1195, allocations: 192 / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.1195, allocations: 46.73 kB / 432.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.1196, allocations: 44.66 kB / 432.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.12, allocations: 294.5 kB / 432.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.12, allocations: 12.38 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.12, allocations: 8.375 kB / 432.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.1204, allocations: 177.4 kB / 432.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1204, allocations: 0 / 432.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.1205, allocations: 7.984 kB / 432.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1205, allocations: 0 / 432.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.1207, allocations: 87.89 kB / 432.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.1215, allocations: 0.4927 MB / 433.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1217, allocations: 102.5 kB / 433.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1219, allocations: 84.88 kB / 433.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1219, allocations: 0 / 433.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.1223, allocations: 246.6 kB / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1223, allocations: 0 / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001094/0.1234, allocations: 0.6149 MB / 434.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.1236, allocations: 195.9 kB / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.1244, allocations: 0.5679 MB / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.1244, allocations: 33.7 kB / 435 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.1245, allocations: 113.1 kB / 435.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1245, allocations: 35.92 kB / 435.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1247, allocations: 93.5 kB / 435.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1249, allocations: 338.7 kB / 435.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.125, allocations: 88 kB / 435.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1252, allocations: 101.6 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.1257, allocations: 436.5 kB / 436.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1257, allocations: 0 / 436.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007456/0.1264, allocations: 0.498 MB / 436.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1266, allocations: 152.5 kB / 436.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1266, allocations: 0 / 436.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1266, allocations: 4.031 kB / 436.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.37e-05/0.1266, allocations: 4 kB / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1266, allocations: 0 / 436.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1268, allocations: 15.94 kB / 436.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.1269, allocations: 105.2 kB / 436.9 MB, free: 10.37 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.0004429/0.1273, allocations: 400.1 kB / 437.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.1274, allocations: 59.59 kB / 437.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1275, allocations: 67.47 kB / 437.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1275, allocations: 8 kB / 437.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1275, allocations: 0 / 437.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1275, allocations: 7.922 kB / 437.5 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.1288, allocations: 0.9556 MB / 438.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1288, allocations: 0 / 438.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-06/0.1288, allocations: 4 kB / 438.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1288, allocations: 0 / 438.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.1288, allocations: 19.98 kB / 438.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1288, allocations: 3.938 kB / 438.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1288, allocations: 0 / 438.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.1297, allocations: 0.6751 MB / 439.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.13, allocations: 256.6 kB / 439.4 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.1301, allocations: 8 kB / 439.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1302, allocations: 19.92 kB / 439.4 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.1304, allocations: 55.94 kB / 439.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.1305, allocations: 101.2 kB / 439.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000583/0.1311, allocations: 418.8 kB / 440 MB, free: 7.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 4 kB / 440 MB, free: 7.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1314, allocations: 52 kB / 440 MB, free: 7.098 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.001344/0.1328, allocations: 1.22 MB / 441.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.1335, allocations: 484.9 kB / 441.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.1335, allocations: 4.062 kB / 441.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.1339, allocations: 384.9 kB / 442.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.1347, allocations: 188.5 kB / 442.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.1392, allocations: 3.245 MB / 445.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.1397, allocations: 0.8182 MB / 446.4 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1398, allocations: 16.84 kB / 446.4 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.1399, allocations: 47.42 kB / 446.4 MB, free: 412 kB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1399, allocations: 0 / 446.4 MB, free: 412 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2183/0.3582, allocations: 9.251 MB / 455.7 MB, free: 23.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.714, allocations: 11.22 kB / 455.7 MB, free: 23.96 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.046742196020205] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.836631254991516 8.84768043 8.726851001 Calling exit ...