Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005179/0.005179, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001389/0.001389, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 54.59 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2424, allocations: 49.16 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002254/0.2446, allocations: 1.563 MB / 398.7 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2463, allocations: 0.918 MB / 399.6 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.2464, allocations: 1.188 kB / 399.6 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.532e-05/0.2465, allocations: 14.56 kB / 399.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.2466, allocations: 32.05 kB / 399.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2468, allocations: 56.27 kB / 399.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.247, allocations: 160.4 kB / 399.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2471, allocations: 19.94 kB / 399.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.2478, allocations: 0.6362 MB / 400.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2479, allocations: 87.45 kB / 400.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.248, allocations: 11.5 kB / 400.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.439e-05/0.248, allocations: 10.5 kB / 400.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.2481, allocations: 72.33 kB / 400.7 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2482, allocations: 133.4 kB / 400.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.2486, allocations: 471.1 kB / 401.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2486, allocations: 0 / 401.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2486, allocations: 0 / 401.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.2487, allocations: 0 / 401.3 MB, free: 6.762 MB / 318.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.000625/0.2493, allocations: 0.7481 MB / 402 MB, free: 6.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2493, allocations: 13.33 kB / 402.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.189e-05/0.2493, allocations: 9.25 kB / 402.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.2494, allocations: 42.22 kB / 402.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.2494, allocations: 41.61 kB / 402.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2497, allocations: 245.4 kB / 402.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2497, allocations: 4.844 kB / 402.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.2497, allocations: 8.75 kB / 402.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.25, allocations: 178.8 kB / 402.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2501, allocations: 0 / 402.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.2501, allocations: 6.828 kB / 402.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2501, allocations: 0 / 402.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.2502, allocations: 84.75 kB / 402.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.2509, allocations: 480.1 kB / 403.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.251, allocations: 95.12 kB / 403.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2512, allocations: 82.2 kB / 403.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2512, allocations: 0.9688 kB / 403.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/0.2516, allocations: 249.1 kB / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2516, allocations: 0 / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008896/0.2525, allocations: 0.6135 MB / 404.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.2525, allocations: 193.1 kB / 404.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.2532, allocations: 0.556 MB / 404.9 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2532, allocations: 34.66 kB / 404.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.2532, allocations: 118 kB / 405.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.2533, allocations: 32.19 kB / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.2534, allocations: 101.4 kB / 405.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.2535, allocations: 329.5 kB / 405.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.2536, allocations: 88.17 kB / 405.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2538, allocations: 100.6 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.2541, allocations: 431.7 kB / 406.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2541, allocations: 0 / 406.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005804/0.2547, allocations: 0.496 MB / 406.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.2547, allocations: 150.9 kB / 406.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2547, allocations: 0 / 406.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2548, allocations: 6.109 kB / 406.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.2548, allocations: 1.484 kB / 406.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2548, allocations: 5.969 kB / 406.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2549, allocations: 20.09 kB / 406.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.255, allocations: 92.08 kB / 406.9 MB, free: 2.938 MB / 318.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.0002823/0.2553, allocations: 403.6 kB / 407.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.2554, allocations: 49.72 kB / 407.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/0.2555, allocations: 68.48 kB / 407.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2555, allocations: 6.031 kB / 407.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2555, allocations: 4.062 kB / 407.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2555, allocations: 6.062 kB / 407.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.2565, allocations: 0.9254 MB / 408.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2565, allocations: 5.859 kB / 408.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.2565, allocations: 0 / 408.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2565, allocations: 5.344 kB / 408.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.2565, allocations: 18.34 kB / 408.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2565, allocations: 5.281 kB / 408.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2565, allocations: 0.7031 kB / 408.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.2572, allocations: 0.6722 MB / 409 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.2575, allocations: 217.7 kB / 409.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.2576, allocations: 11.94 kB / 409.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2578, allocations: 16.39 kB / 409.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.2579, allocations: 54.8 kB / 409.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.258, allocations: 103.5 kB / 409.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004369/0.2584, allocations: 420.1 kB / 409.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2584, allocations: 3.938 kB / 409.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.2587, allocations: 51.94 kB / 409.9 MB, free: 1.145 MB / 318.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.000907/0.2596, allocations: 1.218 MB / 411.1 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.2602, allocations: 482 kB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2602, allocations: 5.281 kB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.2606, allocations: 382.9 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.2615, allocations: 190 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.2657, allocations: 3.233 MB / 415.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.2662, allocations: 0.8205 MB / 416.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.2663, allocations: 11.56 kB / 416.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.2663, allocations: 44.8 kB / 416.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2663, allocations: 1.281 kB / 416.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.2978, allocations: 9.445 MB / 425.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.85, allocations: 15.91 kB / 425.7 MB, free: 5.582 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.104057456017472] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 11.00367617898155 11.027446663 10.774159851 Calling exit ...