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.001328/0.001328, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.001555/0.001555, allocations: 207.3 kB / 22.12 MB, free: 0.9609 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.383/1.383, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.1 MB " [Timeout remaining time 179] 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.001679/0.001679, allocations: 55.92 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.087/0.08868, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002743/0.09143, allocations: 1.56 MB / 393.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.09337, allocations: 0.9173 MB / 394.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.09342, allocations: 0 / 394.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.09354, allocations: 11.88 kB / 394.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.09363, allocations: 19.86 kB / 394.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.09387, allocations: 67.84 kB / 394.7 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.0941, allocations: 151.6 kB / 394.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.0942, allocations: 29.31 kB / 394.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006899/0.09489, allocations: 0.6356 MB / 395.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.09505, allocations: 87.61 kB / 395.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.09509, allocations: 12 kB / 395.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.09513, allocations: 8 kB / 395.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.643e-05/0.09523, allocations: 71.77 kB / 395.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.09538, allocations: 135 kB / 395.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.09588, allocations: 466 kB / 396.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09588, allocations: 4 kB / 396.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.09588, allocations: 0 / 396.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.09589, allocations: 0 / 396.3 MB, free: 4.52 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.0009974/0.09689, allocations: 0.8216 MB / 397.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.09693, allocations: 15.97 kB / 397.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.09695, allocations: 4.188 kB / 397.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.097, allocations: 38.75 kB / 397.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.09709, allocations: 44.7 kB / 397.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.09749, allocations: 302.4 kB / 397.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.09752, allocations: 8.375 kB / 397.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.09755, allocations: 12.38 kB / 397.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.09795, allocations: 169.5 kB / 397.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.09796, allocations: 3.938 kB / 397.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.098, allocations: 7.984 kB / 397.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.09802, allocations: 4 kB / 397.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.09821, allocations: 83.95 kB / 397.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.09901, allocations: 0.5043 MB / 398.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.09922, allocations: 94.53 kB / 398.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.09939, allocations: 92.81 kB / 398.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.09941, allocations: 0 / 398.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.09983, allocations: 242.6 kB / 398.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.09984, allocations: 0 / 398.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001041/0.1009, allocations: 0.6189 MB / 399.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.101, allocations: 199.8 kB / 399.5 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.1018, allocations: 0.5562 MB / 400.1 MB, free: 420 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1018, allocations: 33.69 kB / 400.1 MB, free: 380 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.1019, allocations: 117.1 kB / 400.2 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.102, allocations: 23.86 kB / 400.2 MB, free: 232 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1021, allocations: 105.5 kB / 400.3 MB, free: 120 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1023, allocations: 330.8 kB / 400.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1025, allocations: 83.95 kB / 400.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1027, allocations: 101.6 kB / 400.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.1031, allocations: 430.6 kB / 401.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1031, allocations: 0 / 401.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000748/0.1039, allocations: 0.5136 MB / 401.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.104, allocations: 148.5 kB / 401.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.104, allocations: 4 kB / 401.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.104, allocations: 4.031 kB / 401.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.989e-05/0.1041, allocations: 0 / 401.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1041, allocations: 0 / 401.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1042, allocations: 19.92 kB / 402 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.1043, allocations: 101.3 kB / 402.1 MB, free: 14.26 MB / 334.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.0004047/0.1047, allocations: 396.1 kB / 402.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.1048, allocations: 51.66 kB / 402.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1049, allocations: 71.47 kB / 402.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1049, allocations: 4 kB / 402.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1049, allocations: 4.062 kB / 402.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1049, allocations: 3.938 kB / 402.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.1062, allocations: 0.9595 MB / 403.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1062, allocations: 0 / 403.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-06/0.1062, allocations: 0 / 403.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1062, allocations: 0 / 403.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.1062, allocations: 23.98 kB / 403.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1062, allocations: 3.938 kB / 403.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1062, allocations: 0 / 403.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.1071, allocations: 0.6675 MB / 404.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.1074, allocations: 260.6 kB / 404.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.1075, allocations: 15.94 kB / 404.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1076, allocations: 23.91 kB / 404.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.1078, allocations: 51.94 kB / 404.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.1079, allocations: 101.3 kB / 404.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005255/0.1084, allocations: 418.8 kB / 405.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1084, allocations: 4 kB / 405.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1087, allocations: 55.94 kB / 405.1 MB, free: 10.98 MB / 334.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.001258/0.11, allocations: 1.22 MB / 406.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.1106, allocations: 480.8 kB / 406.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1106, allocations: 64 / 406.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.111, allocations: 385 kB / 407.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.1118, allocations: 201.9 kB / 407.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.116, allocations: 3.237 MB / 410.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.1165, allocations: 0.8182 MB / 411.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.1166, allocations: 16.86 kB / 411.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.1167, allocations: 43.42 kB / 411.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1167, allocations: 0 / 411.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.1436, allocations: 9.278 MB / 420.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.329, allocations: 7.938 kB / 420.8 MB, free: 10.77 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.600943044002634] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 8.454687017016113 8.474932274 8.375121705 Calling exit ...