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.001827/0.001827, allocations: 110.5 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.002225/0.002225, allocations: 211.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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001866/0.001866, allocations: 60.78 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002727/0.2944, allocations: 1.588 MB / 433.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2965, allocations: 0.9121 MB / 434.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.2965, allocations: 4 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.2966, allocations: 11.86 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.2967, allocations: 27.86 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.297, allocations: 51.88 kB / 434.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.2973, allocations: 163.6 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2974, allocations: 17.58 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.2981, allocations: 0.6356 MB / 435.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2983, allocations: 83.62 kB / 435.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.2983, allocations: 15.98 kB / 435.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.2983, allocations: 12 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.2984, allocations: 75.69 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2986, allocations: 131 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2991, allocations: 458.9 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2991, allocations: 4 kB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2991, allocations: 0 / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2991, allocations: 4 kB / 436.1 MB, free: 2.68 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000924/0.3, allocations: 0.7424 MB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3, allocations: 8.031 kB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.3001, allocations: 42.73 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.3002, allocations: 48.66 kB / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3005, allocations: 240.8 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3005, allocations: 16.31 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.3006, allocations: 12.31 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.3009, allocations: 172.5 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3009, allocations: 0 / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.301, allocations: 8 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.301, allocations: 0 / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.3012, allocations: 83.95 kB / 437.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.3019, allocations: 471.5 kB / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3021, allocations: 98.53 kB / 438 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3023, allocations: 84.98 kB / 438.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.3023, allocations: 7.938 kB / 438.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.3027, allocations: 246.5 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.3028, allocations: 0 / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001053/0.3038, allocations: 0.6033 MB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.3039, allocations: 199.9 kB / 439.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/0.3047, allocations: 0.564 MB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3047, allocations: 29.7 kB / 439.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.3048, allocations: 121 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.3049, allocations: 31.8 kB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.305, allocations: 97.5 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3052, allocations: 334.8 kB / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.3053, allocations: 79.97 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.3055, allocations: 101.8 kB / 440.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.306, allocations: 434.6 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.306, allocations: 0 / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000699/0.3067, allocations: 0.4966 MB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.3068, allocations: 152.5 kB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3068, allocations: 0 / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3068, allocations: 4.016 kB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.3068, allocations: 7.938 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3068, allocations: 4 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.307, allocations: 8 kB / 441.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3071, allocations: 101.2 kB / 441.7 MB, free: 12.66 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.0004072/0.3075, allocations: 408.1 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.3076, allocations: 47.72 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.3077, allocations: 67.42 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3077, allocations: 0 / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3077, allocations: 4 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3077, allocations: 0 / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3089, allocations: 0.9506 MB / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3089, allocations: 0 / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.3089, allocations: 0 / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3089, allocations: 0 / 443.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.3089, allocations: 23.98 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3089, allocations: 3.938 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3089, allocations: 0 / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/0.3098, allocations: 0.6701 MB / 443.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.3102, allocations: 209.3 kB / 444 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.3102, allocations: 12 kB / 444 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3104, allocations: 19.92 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3106, allocations: 51.94 kB / 444.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.3107, allocations: 109.2 kB / 444.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005974/0.3113, allocations: 418.8 kB / 444.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3113, allocations: 0 / 444.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.3116, allocations: 52 kB / 444.7 MB, free: 9.492 MB / 350.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.001354/0.3129, allocations: 1.22 MB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.3137, allocations: 480.8 kB / 446.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3137, allocations: 0 / 446.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3141, allocations: 397.2 kB / 446.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.315, allocations: 192 kB / 446.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.3195, allocations: 3.225 MB / 450.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.3201, allocations: 0.8219 MB / 451 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.3202, allocations: 12.97 kB / 451 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.3203, allocations: 47.42 kB / 451.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3203, allocations: 0 / 451.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.3552, allocations: 9.32 MB / 460.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/8.878, allocations: 3.75 kB / 460.4 MB, free: 9.453 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.492578085046262] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.948282633908093 8.964792008 8.662597732 Calling exit ...