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.001431/0.001431, allocations: 105 kB / 19.74 MB, free: 2.566 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.001632/0.001632, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.296/1.296, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.001784/0.001784, allocations: 63.91 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.213, allocations: 53.33 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00241/0.2154, allocations: 1.569 MB / 431 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2172, allocations: 0.9082 MB / 431.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.2172, allocations: 0 / 431.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.053e-05/0.2173, allocations: 19.8 kB / 431.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.2174, allocations: 23.8 kB / 431.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.2176, allocations: 51.88 kB / 432 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.2178, allocations: 155.7 kB / 432.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.2179, allocations: 21.39 kB / 432.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.2185, allocations: 0.6317 MB / 432.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2187, allocations: 83.69 kB / 432.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.2187, allocations: 12 kB / 432.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.772e-05/0.2188, allocations: 12 kB / 432.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.2189, allocations: 87.61 kB / 433 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.219, allocations: 131 kB / 433.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.2194, allocations: 454.5 kB / 433.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2194, allocations: 4 kB / 433.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2194, allocations: 0 / 433.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.2194, allocations: 0 / 433.6 MB, free: 3.254 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.0008013/0.2202, allocations: 0.8255 MB / 434.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2203, allocations: 12.03 kB / 434.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.2203, allocations: 46.73 kB / 434.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.2204, allocations: 44.66 kB / 434.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2207, allocations: 298.5 kB / 434.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2207, allocations: 8.375 kB / 434.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.2207, allocations: 12.36 kB / 434.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.2211, allocations: 173.7 kB / 435 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2211, allocations: 0 / 435 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2211, allocations: 4 kB / 435 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2211, allocations: 0 / 435 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.2213, allocations: 91.89 kB / 435.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.222, allocations: 0.5004 MB / 435.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2221, allocations: 98.47 kB / 435.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.2223, allocations: 84.88 kB / 435.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.2223, allocations: 0 / 435.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.2227, allocations: 250.6 kB / 436 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.2227, allocations: 112 / 436 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009322/0.2236, allocations: 0.6188 MB / 436.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.2237, allocations: 195.9 kB / 436.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.2244, allocations: 0.5601 MB / 437.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.2244, allocations: 33.7 kB / 437.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.2245, allocations: 113.1 kB / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.2246, allocations: 31.78 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.2247, allocations: 109.4 kB / 437.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2248, allocations: 330.8 kB / 438 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.225, allocations: 83.95 kB / 438 MB, free: 14.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2251, allocations: 100.8 kB / 438.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.2256, allocations: 438.6 kB / 438.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2256, allocations: 0 / 438.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006636/0.2262, allocations: 0.5019 MB / 439.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.987e-05/0.2263, allocations: 155.5 kB / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2263, allocations: 0 / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2263, allocations: 0 / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.898e-05/0.2264, allocations: 4 kB / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2264, allocations: 0 / 439.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.2265, allocations: 19.98 kB / 439.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.2266, allocations: 97.19 kB / 439.3 MB, free: 12.99 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.0003654/0.227, allocations: 404.1 kB / 439.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.227, allocations: 47.72 kB / 439.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.2271, allocations: 67.47 kB / 439.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2271, allocations: 4 kB / 439.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2271, allocations: 0 / 439.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2272, allocations: 0 / 439.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2283, allocations: 0.9672 MB / 440.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2283, allocations: 0 / 440.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.2283, allocations: 4 kB / 440.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2283, allocations: 0 / 440.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.2283, allocations: 23.98 kB / 440.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2283, allocations: 4.062 kB / 440.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2283, allocations: 4 kB / 440.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.2291, allocations: 0.6659 MB / 441.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.2294, allocations: 256.6 kB / 441.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.2294, allocations: 12 kB / 441.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.2296, allocations: 15.92 kB / 441.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.2297, allocations: 63.92 kB / 441.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.2298, allocations: 105.2 kB / 442 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004824/0.2303, allocations: 418.8 kB / 442.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2303, allocations: 0 / 442.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.2306, allocations: 52 kB / 442.4 MB, free: 9.715 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.0011/0.2317, allocations: 1.228 MB / 443.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005694/0.2323, allocations: 480.8 kB / 444.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2323, allocations: 0 / 444.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.2326, allocations: 384.9 kB / 444.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.2334, allocations: 198.4 kB / 444.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.2372, allocations: 3.231 MB / 447.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.2378, allocations: 0.822 MB / 448.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.2379, allocations: 16.86 kB / 448.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.2379, allocations: 43.42 kB / 448.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2379, allocations: 3.938 kB / 448.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.27, allocations: 9.286 MB / 458.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.56, allocations: 0 / 458.1 MB, free: 9.691 MB / 366.1 MB " [Timeout remaining time 652] (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 --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: 9.661505276999378]