Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001956/0.001956, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00234/0.00234, allocations: 210.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 59.89 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2674, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002883/0.2702, allocations: 1.538 MB / 433.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.2723, allocations: 0.8498 MB / 434.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.2724, allocations: 0 / 434.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.945e-05/0.2725, allocations: 19.86 kB / 434.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.2726, allocations: 23.8 kB / 434.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.2729, allocations: 55.88 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.2731, allocations: 159.7 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2733, allocations: 23.67 kB / 434.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.274, allocations: 0.6317 MB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.2741, allocations: 87.67 kB / 435.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.2742, allocations: 12 kB / 435.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.2742, allocations: 12 kB / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2744, allocations: 83.62 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2745, allocations: 87.3 kB / 435.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.275, allocations: 458.1 kB / 435.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.275, allocations: 0 / 435.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.275, allocations: 0 / 435.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.275, allocations: 0 / 435.9 MB, free: 2.453 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.0008661/0.2759, allocations: 0.7579 MB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2759, allocations: 8.031 kB / 436.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.763e-05/0.2759, allocations: 4.172 kB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.276, allocations: 42.75 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.2761, allocations: 44.66 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.2764, allocations: 244.7 kB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2764, allocations: 4.375 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.2764, allocations: 16.38 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.2769, allocations: 310 kB / 437.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2769, allocations: 7.922 kB / 437.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.2769, allocations: 8 kB / 437.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2769, allocations: 0 / 437.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.2772, allocations: 228.4 kB / 437.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.278, allocations: 463.5 kB / 438 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.2783, allocations: 251 kB / 438.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.2786, allocations: 233.4 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2786, allocations: 0 / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006087/0.2792, allocations: 394.2 kB / 438.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.2792, allocations: 0 / 438.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001271/0.2805, allocations: 0.9011 MB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.2806, allocations: 199.9 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/0.2814, allocations: 0.5562 MB / 440.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.2814, allocations: 33.7 kB / 440.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.2815, allocations: 117.1 kB / 440.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.2816, allocations: 31.81 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2817, allocations: 101.6 kB / 440.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2819, allocations: 334.7 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.2821, allocations: 228.5 kB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.2824, allocations: 246.2 kB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.2829, allocations: 449.7 kB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2829, allocations: 0 / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008229/0.2837, allocations: 0.6469 MB / 442.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.2838, allocations: 152.5 kB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2838, allocations: 4.031 kB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2838, allocations: 4 kB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.296e-05/0.2839, allocations: 0 / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2839, allocations: 0 / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.2841, allocations: 23.92 kB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.2842, allocations: 93.25 kB / 443 MB, free: 10.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.0004558/0.2846, allocations: 400.1 kB / 443.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.2847, allocations: 47.72 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.2848, allocations: 71.39 kB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2848, allocations: 8 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2848, allocations: 0 / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2848, allocations: 7.875 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.2862, allocations: 1.053 MB / 444.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2862, allocations: 0 / 444.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.2863, allocations: 0 / 444.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2863, allocations: 3.984 kB / 444.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.2863, allocations: 19.98 kB / 444.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2863, allocations: 7.875 kB / 444.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2863, allocations: 0 / 444.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.2873, allocations: 0.8165 MB / 445.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.2877, allocations: 217.3 kB / 445.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.2877, allocations: 12.19 kB / 445.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2879, allocations: 19.92 kB / 445.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.2881, allocations: 55.92 kB / 445.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.2882, allocations: 105.2 kB / 445.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005348/0.2887, allocations: 422.8 kB / 446.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2887, allocations: 0 / 446.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.289, allocations: 52 kB / 446.2 MB, free: 7.156 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.001365/0.2904, allocations: 1.372 MB / 447.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009428/0.2913, allocations: 0.7636 MB / 448.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2914, allocations: 0 / 448.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.2918, allocations: 0.5287 MB / 448.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.2927, allocations: 196.2 kB / 449.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.2972, allocations: 3.959 MB / 453.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.2975, allocations: 219.5 kB / 453.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.2976, allocations: 8.969 kB / 453.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.2977, allocations: 47.42 kB / 453.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2977, allocations: 0 / 453.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.3291, allocations: 10.09 MB / 463.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.55, allocations: 0 / 463.4 MB, free: 5.379 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.945825663977303] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 11.707096099969931 11.723766509 11.445579107 Calling exit ...