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.001751/0.001751, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002155/0.002155, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001944/0.001944, allocations: 64.77 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3639, allocations: 53.36 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003462/0.3673, allocations: 1.583 MB / 433.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3696, allocations: 0.9198 MB / 434.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3697, allocations: 0 / 434.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.3698, allocations: 11.86 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.37, allocations: 19.88 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3703, allocations: 55.86 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.3706, allocations: 163.6 kB / 434.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3708, allocations: 21.58 kB / 434.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008508/0.3716, allocations: 0.6278 MB / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3718, allocations: 95.59 kB / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.3719, allocations: 8 kB / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.3719, allocations: 12 kB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.372, allocations: 71.7 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.3722, allocations: 139 kB / 435.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.3727, allocations: 454.9 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.3728, allocations: 8 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3728, allocations: 0 / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3728, allocations: 0 / 436.1 MB, free: 2.727 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.001198/0.374, allocations: 0.7486 MB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.374, allocations: 8.031 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.3741, allocations: 46.73 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3742, allocations: 44.66 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.3746, allocations: 244.7 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3746, allocations: 4.375 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.3746, allocations: 16.38 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.375, allocations: 165.7 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.375, allocations: 0 / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3751, allocations: 4 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3751, allocations: 0 / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3753, allocations: 87.94 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.3761, allocations: 479.5 kB / 437.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.3763, allocations: 102.5 kB / 438 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.3765, allocations: 88.88 kB / 438.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3765, allocations: 3.938 kB / 438.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.377, allocations: 242.7 kB / 438.3 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.377, allocations: 3.938 kB / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.00117/0.3782, allocations: 0.6065 MB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.3784, allocations: 199.9 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008555/0.3792, allocations: 0.5717 MB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.3793, allocations: 29.7 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3794, allocations: 117.1 kB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.3794, allocations: 27.8 kB / 439.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3796, allocations: 101.5 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.3798, allocations: 330.8 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.38, allocations: 83.95 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3802, allocations: 97.81 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.3807, allocations: 441.6 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3807, allocations: 0 / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000753/0.3815, allocations: 0.4941 MB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.3816, allocations: 152.4 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3816, allocations: 0 / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3816, allocations: 0 / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.251e-05/0.3817, allocations: 32 / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3817, allocations: 8 kB / 441.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.3818, allocations: 15.98 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.382, allocations: 101.2 kB / 441.7 MB, free: 12.7 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.0004745/0.3824, allocations: 396 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.3825, allocations: 51.7 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.3827, allocations: 75.39 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3827, allocations: 0 / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3827, allocations: 0 / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3827, allocations: 4 kB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3839, allocations: 0.9429 MB / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3839, allocations: 0 / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.3839, allocations: 0 / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3839, allocations: 0 / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.384, allocations: 19.98 kB / 443.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.384, allocations: 3.938 kB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.384, allocations: 128 / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.3848, allocations: 0.6676 MB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.3853, allocations: 213.3 kB / 444 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.3853, allocations: 12 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3855, allocations: 19.92 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.3857, allocations: 55.88 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.3858, allocations: 109.2 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005941/0.3864, allocations: 418.8 kB / 444.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3864, allocations: 0 / 444.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3867, allocations: 48 kB / 444.7 MB, free: 9.535 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.001593/0.3883, allocations: 1.232 MB / 445.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.389, allocations: 476.8 kB / 446.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.389, allocations: 0 / 446.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.3895, allocations: 385 kB / 446.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.3903, allocations: 198.1 kB / 446.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.3948, allocations: 3.221 MB / 450.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.3954, allocations: 0.8259 MB / 451 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.738e-05/0.3955, allocations: 12.97 kB / 451 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.3956, allocations: 55.34 kB / 451.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3956, allocations: 0 / 451.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.4344, allocations: 9.316 MB / 460.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.596, allocations: 3.75 kB / 460.4 MB, free: 9.492 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: 11.160694863181561] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.667850010097027 8.682640387 8.306801859 Calling exit ...