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.001267/0.001267, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.00137/0.00137, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.478/1.478, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001918/0.001918, allocations: 75.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.101, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002636/0.1036, allocations: 1.582 MB / 428.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1056, allocations: 0.8965 MB / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.1056, allocations: 0 / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.872e-05/0.1057, allocations: 11.86 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.211e-05/0.1058, allocations: 31.78 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1061, allocations: 55.86 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1063, allocations: 151.7 kB / 429.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1064, allocations: 17.39 kB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006917/0.1071, allocations: 0.6356 MB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1072, allocations: 91.67 kB / 430.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.1073, allocations: 12 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.1073, allocations: 12 kB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1074, allocations: 79.62 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1075, allocations: 131 kB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.108, allocations: 450.1 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.108, allocations: 3.984 kB / 431.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.108, allocations: 0 / 431.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.108, allocations: 0 / 431.1 MB, free: 0.6172 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.1823/0.2903, allocations: 0.824 MB / 432 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.2904, allocations: 9.5 kB / 432 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.2904, allocations: 41.36 kB / 432 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.2905, allocations: 48.19 kB / 432.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2908, allocations: 298 kB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.2908, allocations: 10.75 kB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2908, allocations: 9.875 kB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.2912, allocations: 169.3 kB / 432.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2912, allocations: 6 kB / 432.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2912, allocations: 3.938 kB / 432.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2913, allocations: 2.812 kB / 432.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.2914, allocations: 88.16 kB / 432.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.2921, allocations: 0.4942 MB / 433.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.2923, allocations: 101.8 kB / 433.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2925, allocations: 84.16 kB / 433.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2925, allocations: 1.719 kB / 433.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.2929, allocations: 255.5 kB / 433.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2929, allocations: 0 / 433.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008936/0.2938, allocations: 0.6091 MB / 434.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.2938, allocations: 200.3 kB / 434.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.2944, allocations: 0.5664 MB / 434.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2945, allocations: 29.92 kB / 435 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.2945, allocations: 114 kB / 435.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.2946, allocations: 40.31 kB / 435.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.2947, allocations: 98.12 kB / 435.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.2947, allocations: 336.2 kB / 435.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2949, allocations: 79.23 kB / 435.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.295, allocations: 98.17 kB / 435.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.2954, allocations: 435.6 kB / 436.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2954, allocations: 0 / 436.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006034/0.296, allocations: 0.5063 MB / 436.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.296, allocations: 151.4 kB / 436.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.296, allocations: 0 / 436.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2961, allocations: 2.219 kB / 436.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.2961, allocations: 8.219 kB / 436.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2961, allocations: 1.188 kB / 436.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2962, allocations: 17.27 kB / 436.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.2963, allocations: 94.75 kB / 436.9 MB, free: 8.496 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.000266/0.2966, allocations: 409.1 kB / 437.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.2967, allocations: 46.66 kB / 437.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/0.2967, allocations: 75.33 kB / 437.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2967, allocations: 1.438 kB / 437.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2968, allocations: 0 / 437.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2968, allocations: 1.188 kB / 437.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.2977, allocations: 0.9616 MB / 438.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.2977, allocations: 0.875 kB / 438.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-06/0.2977, allocations: 1.812 kB / 438.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2977, allocations: 2.812 kB / 438.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.2978, allocations: 23.55 kB / 438.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2978, allocations: 2.25 kB / 438.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2978, allocations: 5.5 kB / 438.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.2985, allocations: 0.6635 MB / 439.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.2988, allocations: 256.2 kB / 439.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.2989, allocations: 13.06 kB / 439.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.299, allocations: 11.45 kB / 439.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.2992, allocations: 58.12 kB / 439.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-05/0.2993, allocations: 105.9 kB / 439.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004384/0.2997, allocations: 423.4 kB / 439.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2997, allocations: 3.281 kB / 440 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.3, allocations: 48.5 kB / 440 MB, free: 6.711 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.0009056/0.3009, allocations: 1.217 MB / 441.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.3014, allocations: 483.5 kB / 441.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3014, allocations: 0 / 441.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.3017, allocations: 393.3 kB / 442.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.3025, allocations: 190.6 kB / 442.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.306, allocations: 3.239 MB / 445.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3063, allocations: 0.8149 MB / 446.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.445e-05/0.3063, allocations: 17.5 kB / 446.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3064, allocations: 45.28 kB / 446.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3064, allocations: 0 / 446.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3392, allocations: 9.263 MB / 455.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.486, allocations: 9.156 kB / 455.6 MB, free: 15.69 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.MUX2x1_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00299162 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: 10.935886610299349] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.558452669996768 8.573478683 8.462525879 Calling exit ...